summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 648b2c79f3087b40c354a815912cdc41bf318ca5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
pkgname=piscesys-icons-git
_pkgname=piscesys-icons
pkgver=0.9
pkgrel=1
pkgdesc="System default icon theme of piscesys"
arch=('any')
url="https://gitlab.com/piscesys/icons"
license=('GPL')
depends=()
makedepends=('extra-cmake-modules'  'git')
provides=("$_pkgname")
conflicts=("$_pkgname" "cutefish-icons-git")
source=("git+$url.git")
sha512sums=('SKIP')

pkgver() {
  cd icons
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd icons

  cmake -DCMAKE_INSTALL_PREFIX=/usr .
  make
}

package() {
  cd icons
  DESTDIR="$pkgdir" make install
}