summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDaniel M. Capella2016-10-11 14:52:42 -0400
committerDaniel M. Capella2016-10-12 04:58:04 -0400
commitc1b87ae9bccaf02fd70af6aa7e51a606b21fb653 (patch)
treea98e3ad1f92dbdf2d1ba5e017b7b6ae450851738 /PKGBUILD
downloadaur-c1b87ae9bccaf02fd70af6aa7e51a606b21fb653.tar.gz
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..af8263672bc
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Daniel M. Capella <polyzen@archlinux.info>
+# Maintainer: Johannes Löthberg <johannes@kyriasis.com>
+
+pkgname=pacman-contrib-git
+pkgver=r21.3093437
+pkgrel=1
+pkgdesc='pacman contributions (Git version)'
+url=https://git.archlinux.org/pacman-contrib.git
+arch=('i686' 'x86_64')
+arch=('any')
+license=('GPL')
+depends=('pacman-git') # change to 'pacman' after release 5.0.2
+source=("git+$url")
+sha512sums=('SKIP')
+
+pkgver() {
+ cd ${pkgname%-*}
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd ${pkgname%-*}
+ ./autogen.sh
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --with-vim-dir=/usr/share/vim/vimfiles
+ make V=1
+}
+
+check() {
+ make -C ${pkgname%-*} check
+}
+
+package() {
+ cd ${pkgname%-*}
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et: