summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD38
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9a183f53c3a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+# Generated by mksrcinfo v8
+# Wed Oct 12 08:57:52 UTC 2016
+pkgbase = pacman-contrib-git
+ pkgdesc = pacman contributions (Git version)
+ pkgver = r21.3093437
+ pkgrel = 1
+ url = https://git.archlinux.org/pacman-contrib.git
+ arch = any
+ license = GPL
+ depends = pacman-git
+ source = git+https://git.archlinux.org/pacman-contrib.git
+ sha512sums = SKIP
+
+pkgname = pacman-contrib-git
+
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: