katana/packaging/archlinux/ariya-icons/PKGBUILD

39 lines
784 B
Text
Raw Normal View History

2015-06-13 16:08:35 +03:00
# $Id$
# Maintainer: Ivailo Monev <xakepa10@gmail.com>
pkgname=ariya-icons
pkgver=4.18.0.r21.54ae81b0
pkgrel=2
2015-06-13 16:08:35 +03:00
pkgdesc="Ariya icon theme for use with Katana"
arch=('any')
url='http://fluxer.github.io/katana/'
license=('LGPL')
groups=('katana')
2015-06-15 22:18:35 +03:00
makedepends=('cmake' 'git')
2015-06-13 16:08:35 +03:00
source=("git+https://github.com/fluxer/ariya-icons.git")
sha1sums=('SKIP')
options=('!strip' '!zipman')
2015-06-13 16:08:35 +03:00
2015-06-13 18:58:36 +03:00
pkgver() {
2015-06-14 01:44:05 +03:00
cd ariya-icons
printf "4.18.0."r%s.%s "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
2015-06-13 18:58:36 +03:00
}
2015-06-13 16:08:35 +03:00
prepare() {
2015-06-13 18:58:36 +03:00
mkdir -p build
2015-06-13 16:08:35 +03:00
}
build() {
2015-06-13 18:58:36 +03:00
cd build
cmake ../ariya-icons \
-DCMAKE_BUILD_TYPE=RelWithDbgInfo \
-DENABLE_TESTING=OFF \
2015-06-13 18:58:36 +03:00
-DCMAKE_INSTALL_PREFIX=/usr
make
2015-06-13 16:08:35 +03:00
}
package() {
2015-06-13 18:58:36 +03:00
cd "${srcdir}/build"
make DESTDIR="${pkgdir}" install
2015-06-13 16:08:35 +03:00
}