summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD32
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..34e8c71a294
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+# Generated by makepkg 4.2.1
+# Tue May 26 04:43:53 UTC 2015
+pkgbase = biblabel
+ pkgdesc = Generate standardized BibTeX citation labels
+ pkgver = 0.07
+ pkgrel = 2
+ url = http://ftp.math.utah.edu/pub//biblabel/
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = gcc
+ depends = bash
+ depends = bibclean
+ source = http://ftp.math.utah.edu/pub//biblabel/biblabel-0.07.tar.gz
+ md5sums = e43a6ba9d92cfb0bf74dd6937f0d7d70
+
+pkgname = biblabel
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3f073e0e754
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: kaptoxic <kaptoxic [at] yahoo [dot] com>
+# Contributor: Caleb Reach <caleb.reach@codphilosophy.com>
+
+pkgname=biblabel
+pkgver=0.07
+pkgrel=2
+pkgdesc="Generate standardized BibTeX citation labels"
+arch=('i686' 'x86_64')
+license=(GPL3)
+url="http://ftp.math.utah.edu/pub//$pkgname/"
+source=(http://ftp.math.utah.edu/pub//$pkgname/$pkgname-$pkgver.tar.gz)
+makedepends=('gcc')
+depends=('bash' 'bibclean')
+md5sums=('e43a6ba9d92cfb0bf74dd6937f0d7d70')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ mkdir -p $pkgdir/usr/{bin,share/man/man1,share/lib}
+ make AWK='"gawk -c"' prefix=$pkgdir/usr MANDIR="${pkgdir}/usr/share/man/man1" CP='cp -p' install
+ #make AWK='"gawk -c"' prefix=$pkgdir/usr CP='cp -p' install
+ make AWK='"gawk -c"' LIBDIR=/usr/share/lib prefix=$pkgdir/usr MANDIR="${pkgdir}/usr/share/man" install-exe-biblabel
+ unlink $pkgdir/usr/bin/biblabel
+ unlink $pkgdir/usr/bin/citesub
+ mv $pkgdir/usr/bin/biblabel-$pkgver $pkgdir/usr/bin/biblabel
+ mv $pkgdir/usr/bin/citesub-$pkgver $pkgdir/usr/bin/citesub
+}