katana/packaging/archlinux/ariya-icons/PKGBUILD
FredBezies 23d9f6c7d0
Updated PKGBUILD
Following bug #20 suggestion.
2020-01-05 22:25:46 +01:00

39 lines
818 B
Bash

# $Id$
# Maintainer: Ivailo Monev <xakepa10@gmail.com>
pkgname=ariya-icons
pkgver=4.18.0.r21.54ae81b0
pkgrel=1
pkgdesc="Ariya icon theme for use with Katana"
arch=('any')
url='http://fluxer.github.io/katana/'
license=('LGPL')
groups=('katana')
depends=('gtk-update-icon-cache')
makedepends=('cmake' 'git')
source=("git+https://github.com/fluxer/ariya-icons.git")
sha1sums=('SKIP')
options=('!strip' '!zipman')
pkgver() {
cd ariya-icons
printf "4.18.0."r%s.%s "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../ariya-icons \
-DCMAKE_BUILD_TYPE=RelWithDbgInfo \
-DENABLE_TESTING=OFF \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "${srcdir}/build"
make DESTDIR="${pkgdir}" install
}