summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b19aea826204cb57eec4cd8bce4863360a80289a (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
# Maintainer: Kevin MacMartin <prurigro at gmail dot com>

_pkgname=gnome-catgen
pkgname=$_pkgname-git
pkgver=20231024.r70.7ff5345
pkgrel=1
pkgdesc='A Gnome 3.12 and 3.14 application-overview folder configuration tool'
url='https://github.com/prurigro/gnome-catgen'
license=('MIT')
arch=('any')
depends=('dconf')
makedepends=('git')
source=("git+$url")
sha512sums=('SKIP')

pkgver() {
  cd $_pkgname
  printf "%s.r%s.%s" "$(git show -s --format=%ci master | sed 's/\ .*//g;s/-//g')" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd $_pkgname
  make DESTDIR="$pkgdir" install
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}