summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoraksr2015-06-29 07:25:16 +0200
committeraksr2015-06-29 07:25:16 +0200
commit5a7f96738022d776027e6dbd6f2d31c22978513d (patch)
tree49f827b58d2ef1c58e71cb8ab03b788a6e2d458e
downloadaur-unpaper-git.tar.gz
Start.
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD44
2 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..174bf216196
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = unpaper-git
+ pkgdesc = Post-processing tool for scanned sheets of paper.
+ pkgver = 6.r194.ef2120b
+ pkgrel = 1
+ url = https://github.com/Flameeyes/unpaper
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ depends = ffmpeg
+ conflicts = unpaper
+ source = unpaper-git::git://github.com/Flameeyes/unpaper.git
+ md5sums = SKIP
+
+pkgname = unpaper-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b407be70c35
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: aksr <aksr at t-com dot me>
+pkgname=unpaper-git
+pkgver=6.r194.ef2120b
+pkgrel=1
+epoch=
+pkgdesc="Post-processing tool for scanned sheets of paper."
+arch=('i686' 'x86_64')
+url="https://github.com/Flameeyes/unpaper"
+license=('GPL')
+groups=()
+depends=('ffmpeg')
+makedepends=('git')
+optdepends=()
+checkdepends=()
+provides=()
+conflicts=('unpaper')
+replaces=()
+backup=()
+options=()
+changelog=
+install=
+source=("$pkgname::git://github.com/Flameeyes/unpaper.git")
+noextract=()
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$pkgname"
+ printf "6.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/$pkgname"
+ autoreconf -i
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ make DESTDIR="$pkgdir/" install
+ mkdir -p $pkgdir/usr/share/licenses/$pkgname
+ mv $pkgdir/usr/share/doc/unpaper/COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
+}
+