katana/packaging/archlinux/ariya-icons/PKGBUILD
FredBezies 7cd7e11a8c
Namcap cleanup - part 1
Namcap work in progress in order to get cleaner and better PKGBUILD.
2020-01-29 12:28:56 +01:00

38 lines
784 B
Bash

# $Id$
# Maintainer: Ivailo Monev <xakepa10@gmail.com>
pkgname=ariya-icons
pkgver=4.18.0.r21.54ae81b0
pkgrel=2
pkgdesc="Ariya icon theme for use with Katana"
arch=('any')
url='http://fluxer.github.io/katana/'
license=('LGPL')
groups=('katana')
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
}