summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoraksr2016-01-23 09:06:59 +0100
committeraksr2016-01-23 09:06:59 +0100
commit2abe2d821dd8be924e53f1242986491d7844f9b5 (patch)
treefdd77b7e08aeb8d6c58091ee6ff293a02c16522b /PKGBUILD
downloadaur-aspic.tar.gz
Start.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d5db5c42925
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer: aksr <aksr at t-com dot me>
+pkgname=aspic
+pkgver=1.05
+pkgrel=1
+epoch=
+pkgdesc="A program for turning a textual description of a line drawing into PostScript or Scalable Vector Graphics."
+arch=('i686' 'x86_64')
+url="http://people.ds.cam.ac.uk/ph10/"
+license=('GPL')
+groups=()
+depends=()
+makedepends=()
+optdepends=()
+checkdepends=()
+provides=('aspic')
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=
+changelog=ChangeLog
+source=("ftp://ftp.csx.cam.ac.uk/pub/software/wordprocessing/unix/$pkgname/$pkgname-$pkgver.tar.gz")
+noextract=()
+options=()
+md5sums=('71dab77949d7c6c0920f1e8bfc19e96d')
+sha1sums=('d7e83fcd0a0322e2fcb263485b3f82f6bb95e4d9')
+sha256sums=('09ca0bbf6fbdf12447988e33bdd259038b9184f1b187e8d3f552cbe9924cb6b3')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "$srcdir/$pkgname-$pkgver/testing"
+ #./RunTests
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make BINDIR=$pkgdir/usr/bin DATADIR=$pkgdir/usr/share/$pkgname MANDIR=$pkgdir/usr/share/man install
+ install -Dm644 doc/aspic.pdf $pkgdir/usr/share/doc/$pkgname/aspic.pdf
+ install -Dm644 LICENCE $pkgdir/usr/share/licenses/$pkgname/LICENCE
+}
+