summaryrefslogtreecommitdiff
path: root/devel/nasm/MAKEPKG
diff options
context:
space:
mode:
Diffstat (limited to 'devel/nasm/MAKEPKG')
-rw-r--r--devel/nasm/MAKEPKG31
1 files changed, 31 insertions, 0 deletions
diff --git a/devel/nasm/MAKEPKG b/devel/nasm/MAKEPKG
new file mode 100644
index 0000000..a01d034
--- /dev/null
+++ b/devel/nasm/MAKEPKG
@@ -0,0 +1,31 @@
+#!/bin/mkpkg
+# description: Netwide Assembler (x86/x86_64)
+# url: https://www.nasm.us/
+
+name=nasm
+version=3.02
+release=1
+depends=(zlib)
+source=(https://www.nasm.us/pub/nasm/releasebuilds/$version/$name-$version.tar.xz
+ nasm-3.01-musl.patch)
+sha256sums=(
+ "87336eba53b4acfe917424ab5d500d2b0054d9f5148d35c2273ccf2cfb712f0d"
+ "230ee9c355991d6e7f6ed2f815d102d61e24e69fef50b3bf11c257f285e7b1e6"
+)
+
+build() {
+ cd $name-$version
+
+ #patch -p1 -i $SRC/nasm-3.01-musl.patch
+
+ ./configure --prefix=/usr
+ make
+ make DESTDIR=$PKG install
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh