summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Severance2015-09-15 03:41:18 -0400
committerChris Severance2015-09-15 03:41:18 -0400
commit60639763ac859f71c32cc64ef5b8af4a78235f5b (patch)
tree7ad4b84b12b5b78bd45bb55cae56337243e44dce
downloadaur-60639763ac859f71c32cc64ef5b8af4a78235f5b.tar.gz
Initial Import
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD45
2 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e0b5188cd63
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = jwasm
+ pkgdesc = a free MASM-compatible assembler
+ pkgver = 212s_140105
+ pkgrel = 1
+ url = http://www.japheth.de/JWasm.html
+ arch = i686
+ arch = x86_64
+ license = custom
+ makedepends = unzip
+ depends = glibc
+ noextract = JWasm212s_140105.zip
+ source = http://sourceforge.net/projects/jwasm/files/JWasm%20Source%20Code/JWasm212s_140105.zip
+ sha256sums = 2bef67d89c3d40d228ac2e24e3e41a60cd954cf0f1b7389680f7f03658b78f1c
+
+pkgname = jwasm
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ff7ec7f072d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer: Chris Severance aur.severach aATt spamgourmet dott com
+# Contributor: Andreas B. Wagner <AndreasBWagner@pointfree.net>
+# Contributor: Florian L├ęger <florian6 dot leger at laposte dot net>
+
+set -u
+pkgname='jwasm'
+#_pkgname='JWasm211as'
+pkgver='212s_140105'
+pkgrel='1'
+pkgdesc='a free MASM-compatible assembler'
+arch=('i686' 'x86_64')
+url='http://www.japheth.de/JWasm.html'
+license=('custom')
+depends=('glibc')
+makedepends=('unzip') # much more reasonable than hd2u or dos2unix
+_verwatch=('http://sourceforge.net/projects/jwasm/files/JWasm%20Source%20Code/' '\s\+JWasm\(.*\)\.zip.*' 'f')
+source=("http://sourceforge.net/projects/jwasm/files/JWasm%20Source%20Code/JWasm${pkgver}.zip")
+noextract=("${source[@]##*/}")
+sha256sums=('2bef67d89c3d40d228ac2e24e3e41a60cd954cf0f1b7389680f7f03658b78f1c')
+
+prepare() {
+ set -u
+ unzip -oaq -d "${pkgname}" "${noextract[0]}"
+ cd "${pkgname}"
+ sed -i -e 's:^c_flags =.*$:& -Wno-implicit-function-declaration:g' 'GccUnix.mak'
+ test -r 'README.TXT' && mv 'README.TXT' 'Readme.txt'
+ set +u
+}
+
+build() {
+ set -u
+ cd "${pkgname}"
+ make -f 'GccUnix.mak' -s -j "$(nproc)"
+ set +u
+}
+
+package() {
+ set -u
+ cd "${pkgname}"
+ install -Dpm755 'GccUnixR/jwasm' -t "${pkgdir}/usr/bin/"
+ install -Dpm644 'History.txt' 'Readme.txt' 'Doc/enh.txt' 'Doc/fixes.txt' 'Doc/gencode.txt' 'Doc/overview.txt' -t "${pkgdir}/usr/share/doc/jwasm/"
+ install -Dpm644 'License.txt' -t "${pkgdir}/usr/share/licenses/jwasm/"
+ set +u
+}
+set +u