# Maintainer: Papajoker pkgname=pachook pkgver=0.1.4.r9.gdf43c34 pkgrel=2 pkgdesc="simple administrator pacman hooks" arch=('any') url="https://github.com/papajoker/pachook" license=('GPL') depends=('pacman') makedepends=('git') source=("$pkgname::git+https://github.com/papajoker/pachook") md5sums=('SKIP') pkgver() { cd "$srcdir/$pkgname" git describe --tags --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } package() { cd "$srcdir/$pkgname" install -Dm755 ${pkgname} ${pkgdir}/usr/bin/${pkgname} #cp -r usr ${pkgdir}/ cp -r etc ${pkgdir}/ }