diff options
author | Gabriele Musco | 2020-03-09 13:16:54 +0100 |
---|---|---|
committer | Gabriele Musco | 2020-03-09 13:16:54 +0100 |
commit | 1beb4c142da797c26558f4129aea45a8b42ee72f (patch) | |
tree | c8d8c5892dd0ed8937cbc84d117529a576f19b03 /PKGBUILD | |
download | aur-glorious-man-pages-git.tar.gz |
first release
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4295380ab0a5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Gabriele Musco <gabmus@disroot.org> +# Upstream URL: https://gitlab.gnome.org/gabmus/whatip + +pkgname=glorious-man-pages-git +pkgver=cef6a2e +pkgrel=1 +pkgdesc='Man pages for the computer peripherals from Glorious PC Gaming Race' +arch=('any') +url='https://gitlab.com/gabmus/glorious-man-pages' +license=('CC0') +depends=( + 'man-pages' +) +makedepends=('git' 'make' 'pandoc') +provides=('glorious-man-pages') +conflicts=('glorious-man-pages') +source=("gmp::git+https://gitlab.com/gabmus/glorious-man-pages") +sha256sums=('SKIP') + +pkgver() { + cd "$srcdir/gmp" + git describe --long --tags --always | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cd "$srcdir/gmp" + make all +} + +package() { + cd "$srcdir/gmp" + DESTDIR="$pkgdir" make install +} |