summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authordobo902015-06-08 19:30:40 +0200
committerdobo902015-06-08 19:30:40 +0200
commitade4c235efdec94cd7edcb0dc4eb03ec1a91fee4 (patch)
tree45f404d61ecdb798b0d7654acf0d39a51d29c700 /PKGBUILD
downloadaur-ade4c235efdec94cd7edcb0dc4eb03ec1a91fee4.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7f1552569ff
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: dobo <dobo90_at_gmail.com>
+
+pkgname=as31
+pkgver=2.3.1
+pkgrel=2
+pkgdesc="An 8031/8051 assembler."
+arch=(i686 x86_64)
+url=http://wiki.erazor-zone.de/wiki:projects:linux:as31
+license=(BSD)
+depends=(glibc)
+source=(http://wiki.erazor-zone.de/_media/wiki:projects:linux:as31:${pkgname}-${pkgver}.tar.gz)
+md5sums=(e70d7a2d6b80dc37082e79480bb2d1da)
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ rm as31/parser.c
+
+ chmod +x configure
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ make DESTDIR=${pkgdir} install
+
+ install -D -m 644 COPYING ${pkgdir}/usr/share/licenses/as31/COPYING
+}