summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle Keen2015-08-09 12:05:46 -0400
committerKyle Keen2015-08-09 12:05:46 -0400
commitba2cf3c53af5aa160f23f09443cc054bbdd80e7c (patch)
tree75631eb2122183c1b0ee30d9aab7d8b0660db372
downloadaur-nasm-git.tar.gz
aur3 recovery
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD43
2 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3200f5746ef
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = nasm-git
+ pkgdesc = 80x86 assembler designed for portability and modularity
+ pkgver = 20150726
+ pkgrel = 1
+ url = http://nasm.sourceforge.net/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ makedepends = asciidoc
+ depends = glibc
+ provides = nasm
+ replaces = nasm
+ source = git://repo.or.cz/nasm.git
+ md5sums = SKIP
+
+pkgname = nasm-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..406cd3d9b90
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,43 @@
+# Maintainer: Abakus <java5@arcor.de>
+pkgname=nasm-git
+pkgver=20150726
+pkgrel=1
+pkgdesc="80x86 assembler designed for portability and modularity"
+arch=('i686' 'x86_64')
+url="http://nasm.sourceforge.net/"
+depends=('glibc')
+makedepends=('git' 'asciidoc')
+license=('GPL')
+replaces=('nasm')
+provides=('nasm')
+source=('git://repo.or.cz/nasm.git')
+md5sums=('SKIP')
+
+_gitname="nasm"
+
+pkgver() {
+ cd "$srcdir/$_gitname"
+ git show -s --format="%ci" HEAD | sed -e 's/-//g' -e 's/ .*//'
+}
+
+build() {
+ cd "$srcdir/$_gitname"
+
+ #autoheader
+ #autoconf
+ ./autogen.sh
+ ./configure --prefix=/usr
+
+ # asciidoc/xmlto bugs out (report upstream)
+ sed -i 's/manpages rdf/rdf/' Makefile
+ sed -i 's/^.*\.1/#&/' Makefile
+
+ make
+}
+
+package() {
+ cd "$srcdir/$_gitname"
+ mkdir -p "$pkgdir/usr/"{bin,man/man1}
+ make prefix="$pkgdir/usr" install
+}
+