summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoraksr2016-06-14 07:45:37 +0200
committeraksr2016-06-14 07:45:37 +0200
commita0d54d300425397e828f7e74cbdc1c0ae2d57582 (patch)
tree7e3e042300f77433a9d4cdc137283817ede749b2
downloadaur-a0d54d300425397e828f7e74cbdc1c0ae2d57582.tar.gz
Start.
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD44
2 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a101dda07dd
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+# Generated by mksrcinfo v8
+# Tue Jun 14 05:45:37 UTC 2016
+pkgbase = pdfgrep-git
+ pkgdesc = A commandline utility to search text in PDF files.
+ pkgver = 1.4.1.r57.gbbf8f05
+ pkgrel = 1
+ url = https://pdfgrep.org/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ depends = poppler
+ source = pdfgrep-git::git+https://gitlab.com/pdfgrep/pdfgrep.git
+ md5sums = SKIP
+
+pkgname = pdfgrep-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..11ea79528f4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: aksr <aksr at t-com dot me>
+pkgname=pdfgrep-git
+pkgver=1.4.1.r57.gbbf8f05
+pkgrel=1
+epoch=
+pkgdesc="A commandline utility to search text in PDF files."
+arch=('i686' 'x86_64')
+url="https://gitlab.com/pdfgrep/pdfgrep/commits/master"
+url="https://pdfgrep.org/"
+license=('GPL')
+groups=()
+depends=('poppler')
+makedepends=('git')
+optdepends=()
+checkdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+changelog=
+install=
+source=("$pkgname::git+https://gitlab.com/pdfgrep/pdfgrep.git")
+noextract=()
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$pkgname"
+ git describe --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g;s/^v//'
+}
+
+build() {
+ cd "$srcdir/$pkgname"
+ ./autogen.sh
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ make DESTDIR="$pkgdir/" install
+ install -Dm644 COPYING $pkgdir/usr/share/licenses/${pkgname%-*}/COPYING
+}
+