summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD23
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e9e3ef95625
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = pactory-git
+ pkgdesc = Pacman History - Logfile parser for pacman.log
+ pkgver = 20180219
+ pkgrel = 1
+ url = http://github.com/zeaq/pactory
+ arch = any
+ license = GPL3
+ makedepends = git
+ depends = bash
+ depends = pacman
+ depends = sed
+ source = git+https://github.com/zeaq/pactory.git
+ md5sums = SKIP
+
+pkgname = pactory-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..891824a7a85
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Zeaq <m dot pichlo at gmx dot de>
+pkgname=pactory-git
+_gitname=pactory
+pkgver=20180219
+pkgrel=1
+pkgdesc="Pacman History - Logfile parser for pacman.log"
+url="http://github.com/zeaq/pactory"
+license=("GPL3")
+arch=('any')
+makedepends=('git')
+depends=('bash' 'pacman' 'sed')
+source=('git+https://github.com/zeaq/pactory.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd "${_gitname}"
+ git show -s --format="%ci" HEAD | sed -e 's/-//g' -e 's/ .*//'
+}
+
+package() {
+ install -Dm755 "$srcdir/${_gitname}/pactory" "$pkgdir/usr/bin/pactory"
+}
+