[arch-commits] Commit in fasm/repos/community-i686 (PKGBUILD PKGBUILD)
Date: Sunday, November 5, 2017 @ 22:13:13 Author: anthraxx Revision: 265478 archrelease: copy trunk to community-i686 Added: fasm/repos/community-i686/PKGBUILD (from rev 265477, fasm/trunk/PKGBUILD) Deleted: fasm/repos/community-i686/PKGBUILD --+ PKGBUILD | 124 ++--- 1 file changed, 62 insertions(+), 62 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2017-11-05 22:13:03 UTC (rev 265477) +++ PKGBUILD2017-11-05 22:13:13 UTC (rev 265478) @@ -1,62 +0,0 @@ -# Maintainer: Levente Polyak-# Contributor: Chris Andrews -# Contributor: FadeMind -# Contributor: Serge Victor -# Contributor: Krzysztof Wloch -# Contributor: Luke McCarthy - -pkgname=fasm -pkgver=1.71.64 -pkgrel=1 -pkgdesc='Fast and efficient self-assembling x86 assembler for DOS, Windows and Linux operating systems' -url='https://flatassembler.net/' -arch=('i686' 'x86_64') -license=('custom') -depends_i686=('glibc') -depends_x86_64=('lib32-glibc') -source=(${pkgname}-${pkgver}.tgz::https://flatassembler.net/${pkgname}-${pkgver}.tgz) -sha256sums=('df236d7bb141eff2e2e4d22fe03da08e279033e22f90235f058c21f2dabda6ee') -sha512sums=('6255d959b93d306f2f003f61becefbea9b8c6ff43e22622278b0c19bd241c8a3f2c8f31a48af69b817c5212851b73d180b81ba16514aaab2ea5c846531095d70') - -build() { - cd ${pkgname} - - if [ "${CARCH}" == "x86_64" ]; then -SRCDIR=Linux/x64 -./fasm.x64 source/${SRCDIR}/fasm.asm - elif [ "${CARCH}" == "i686" ]; then -SRCDIR=Linux -./fasm source/${SRCDIR}/fasm.asm - fi - mv source/${SRCDIR}/fasm ./fasm - - # tools - local s - for s in listing prepsrc symbols; do -./fasm tools/libc/${s}.asm ${s}.o -gcc -m32 ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o ${s} ${s}.o - done -} - -package() { - cd ${pkgname} - - install -Dm 755 fasm -t "${pkgdir}/usr/bin" - # tools - local s - for s in listing prepsrc symbols; do -install -Dm 755 ${s} "${pkgdir}/usr/bin/fasm-${s}" - done - - # docs - install -Dm 644 ${pkgname}.txt whatsnew.txt -t "${pkgdir}/usr/share/doc/${pkgname}" - install -Dm 644 examples/elfexe/*.asm -t "${pkgdir}/usr/share/doc/${pkgname}/examples/elfexe" - install -Dm 644 examples/elfexe/dynamic/*.asm -t "${pkgdir}/usr/share/doc/${pkgname}/examples/elfexe/dynamic" - install -Dm 644 examples/elfexe/dynamic/*.inc -t "${pkgdir}/usr/share/doc/${pkgname}/examples/elfexe/dynamic" - install -Dm 644 examples/elfobj/*.asm -t "${pkgdir}/usr/share/doc/${pkgname}/examples/elfobj" - install -Dm 644 examples/libcdemo/*.asm -t "${pkgdir}/usr/share/doc/${pkgname}/examples/libcdemo" - install -Dm 644 examples/libcdemo/*.inc -t "${pkgdir}/usr/share/doc/${pkgname}/examples/libcdemo" - install -Dm 644 license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} - -# vim: ts=2 sw=2 et: Copied: fasm/repos/community-i686/PKGBUILD (from rev 265477, fasm/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2017-11-05 22:13:13 UTC (rev 265478) @@ -0,0 +1,62 @@ +# Maintainer: Levente Polyak +# Contributor: Chris Andrews +# Contributor: FadeMind +# Contributor: Serge Victor +# Contributor: Krzysztof Wloch +# Contributor: Luke McCarthy + +pkgname=fasm +pkgver=1.72 +pkgrel=1 +pkgdesc='Fast and efficient self-assembling x86 assembler for DOS, Windows and Linux operating systems' +url='https://flatassembler.net/' +arch=('i686' 'x86_64') +license=('custom') +depends_i686=('glibc') +depends_x86_64=('lib32-glibc') +source=(${pkgname}-${pkgver}.tgz::https://flatassembler.net/${pkgname}-${pkgver}.tgz) +sha256sums=('31d40019be410a5127734c23751b0b1e8ad0c279938351175a4d0fd9a58662a8') +sha512sums=('0569955ededc75c94fb669ec76e201f150453f7e5212a0c7bb181c7ac37cf42347ef4c841c832885d7a4e529254afd2d8c5484f56d0b48a7f2ba3b810960ccf2') + +build() { + cd ${pkgname} + + if [ "${CARCH}" == "x86_64" ]; then +SRCDIR=Linux/x64 +./fasm.x64 source/${SRCDIR}/fasm.asm + elif [ "${CARCH}" == "i686" ]; then +SRCDIR=Linux +./fasm source/${SRCDIR}/fasm.asm + fi + mv source/${SRCDIR}/fasm ./fasm + + # tools + local s + for s in listing prepsrc symbols; do +./fasm tools/libc/${s}.asm ${s}.o +gcc -m32 ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o ${s} ${s}.o + done +} + +package() { + cd ${pkgname} + + install -Dm 755 fasm -t "${pkgdir}/usr/bin" + # tools + local s + for s in listing prepsrc symbols; do +install -Dm 755 ${s} "${pkgdir}/usr/bin/fasm-${s}" + done + + # docs + install -Dm 644 ${pkgname}.txt whatsnew.txt -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm 644 examples/elfexe/*.asm -t "${pkgdir}/usr/share/doc/${pkgname}/examples/elfexe" + install -Dm 644 examples/elfexe/dynamic/*.asm
[arch-commits] Commit in fasm/repos/community-i686 (PKGBUILD PKGBUILD)
Date: Wednesday, July 19, 2017 @ 20:40:33 Author: anthraxx Revision: 245742 archrelease: copy trunk to community-i686 Added: fasm/repos/community-i686/PKGBUILD (from rev 245741, fasm/trunk/PKGBUILD) Deleted: fasm/repos/community-i686/PKGBUILD --+ PKGBUILD | 119 +++-- 1 file changed, 62 insertions(+), 57 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2017-07-19 20:40:26 UTC (rev 245741) +++ PKGBUILD2017-07-19 20:40:33 UTC (rev 245742) @@ -1,57 +0,0 @@ -# Maintainer: Levente Polyak-# Contributor: Chris Andrews -# Contributor: FadeMind -# Contributor: Serge Victor -# Contributor: Krzysztof Wloch -# Contributor: Luke McCarthy - -pkgname=fasm -pkgver=1.71.60 -pkgrel=3 -pkgdesc='Fast and efficient self-assembling x86 assembler for DOS, Windows and Linux operating systems' -url='https://flatassembler.net/' -arch=('i686' 'x86_64') -license=('custom') -depends_i686=('glibc') -depends_x86_64=('lib32-glibc') -source=(${pkgname}-${pkgver}.tgz::https://flatassembler.net/${pkgname}-${pkgver}.tgz) -sha512sums=('6c31fd044a972cb694b84adbb2b18940d9256f12c4ad1acd466b2f9c99c3bc01bfa6daba434e480c7694be5a604809d5f0da8dc41ff09919f0a5f0dda9ad74b3') - -build() { - cd ${pkgname} - CFLAGS+=" -pie" - - # compile fasm with itself - ./fasm source/libc/${pkgname}.asm - gcc -m32 ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -L/usr/lib32 source/libc/${pkgname}.o -o source/libc/${pkgname} - - # tools - local s - for s in listing prepsrc symbols; do -./source/libc/${pkgname} tools/libc/${s}.asm ${s}.o -gcc -m32 ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o ${s} ${s}.o - done -} - -package() { - cd ${pkgname} - - install -Dm 755 source/libc/${pkgname} -t "${pkgdir}/usr/bin" - # tools - local s - for s in listing prepsrc symbols; do -install -Dm 755 ${s} "${pkgdir}/usr/bin/${pkgname}-${s}" - done - - # docs - install -Dm 644 ${pkgname}.txt whatsnew.txt -t "${pkgdir}/usr/share/doc/${pkgname}" - install -Dm 644 examples/elfexe/*.asm -t "${pkgdir}/usr/share/doc/${pkgname}/examples/elfexe" - install -Dm 644 examples/elfexe/dynamic/*.asm -t "${pkgdir}/usr/share/doc/${pkgname}/examples/elfexe/dynamic" - install -Dm 644 examples/elfexe/dynamic/*.inc -t "${pkgdir}/usr/share/doc/${pkgname}/examples/elfexe/dynamic" - install -Dm 644 examples/elfobj/*.asm -t "${pkgdir}/usr/share/doc/${pkgname}/examples/elfobj" - install -Dm 644 examples/libcdemo/*.asm -t "${pkgdir}/usr/share/doc/${pkgname}/examples/libcdemo" - install -Dm 644 examples/libcdemo/*.inc -t "${pkgdir}/usr/share/doc/${pkgname}/examples/libcdemo" - install -Dm 644 license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} - -# vim: ts=2 sw=2 et: Copied: fasm/repos/community-i686/PKGBUILD (from rev 245741, fasm/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2017-07-19 20:40:33 UTC (rev 245742) @@ -0,0 +1,62 @@ +# Maintainer: Levente Polyak +# Contributor: Chris Andrews +# Contributor: FadeMind +# Contributor: Serge Victor +# Contributor: Krzysztof Wloch +# Contributor: Luke McCarthy + +pkgname=fasm +pkgver=1.71.64 +pkgrel=1 +pkgdesc='Fast and efficient self-assembling x86 assembler for DOS, Windows and Linux operating systems' +url='https://flatassembler.net/' +arch=('i686' 'x86_64') +license=('custom') +depends_i686=('glibc') +depends_x86_64=('lib32-glibc') +source=(${pkgname}-${pkgver}.tgz::https://flatassembler.net/${pkgname}-${pkgver}.tgz) +sha256sums=('df236d7bb141eff2e2e4d22fe03da08e279033e22f90235f058c21f2dabda6ee') +sha512sums=('6255d959b93d306f2f003f61becefbea9b8c6ff43e22622278b0c19bd241c8a3f2c8f31a48af69b817c5212851b73d180b81ba16514aaab2ea5c846531095d70') + +build() { + cd ${pkgname} + + if [ "${CARCH}" == "x86_64" ]; then +SRCDIR=Linux/x64 +./fasm.x64 source/${SRCDIR}/fasm.asm + elif [ "${CARCH}" == "i686" ]; then +SRCDIR=Linux +./fasm source/${SRCDIR}/fasm.asm + fi + mv source/${SRCDIR}/fasm ./fasm + + # tools + local s + for s in listing prepsrc symbols; do +./fasm tools/libc/${s}.asm ${s}.o +gcc -m32 ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o ${s} ${s}.o + done +} + +package() { + cd ${pkgname} + + install -Dm 755 fasm -t "${pkgdir}/usr/bin" + # tools + local s + for s in listing prepsrc symbols; do +install -Dm 755 ${s} "${pkgdir}/usr/bin/fasm-${s}" + done + + # docs + install -Dm 644 ${pkgname}.txt whatsnew.txt -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm 644 examples/elfexe/*.asm -t "${pkgdir}/usr/share/doc/${pkgname}/examples/elfexe" + install -Dm 644 examples/elfexe/dynamic/*.asm -t "${pkgdir}/usr/share/doc/${pkgname}/examples/elfexe/dynamic" + install -Dm
[arch-commits] Commit in fasm/repos/community-i686 (PKGBUILD PKGBUILD)
Date: Sunday, March 12, 2017 @ 21:45:11 Author: anthraxx Revision: 215906 archrelease: copy trunk to community-i686 Added: fasm/repos/community-i686/PKGBUILD (from rev 215905, fasm/trunk/PKGBUILD) Deleted: fasm/repos/community-i686/PKGBUILD --+ PKGBUILD | 113 ++--- 1 file changed, 57 insertions(+), 56 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2017-03-12 21:45:04 UTC (rev 215905) +++ PKGBUILD2017-03-12 21:45:11 UTC (rev 215906) @@ -1,56 +0,0 @@ -# Maintainer: Levente Polyak-# Contributor: Chris Andrews -# Contributor: FadeMind -# Contributor: Serge Victor -# Contributor: Krzysztof Wloch -# Contributor: Luke McCarthy - -pkgname=fasm -pkgver=1.71.60 -pkgrel=2 -pkgdesc='Fast and efficient self-assembling x86 assembler for DOS, Windows and Linux operating systems' -url='https://flatassembler.net/' -arch=('i686' 'x86_64') -license=('custom') -depends_x86_64=('lib32-glibc') -source=(${pkgname}-${pkgver}.tgz::https://flatassembler.net/${pkgname}-${pkgver}.tgz) -sha512sums=('6c31fd044a972cb694b84adbb2b18940d9256f12c4ad1acd466b2f9c99c3bc01bfa6daba434e480c7694be5a604809d5f0da8dc41ff09919f0a5f0dda9ad74b3') - -build() { - cd ${pkgname} - CFLAGS+=" -pie" - - # compile fasm with itself - ./fasm source/libc/${pkgname}.asm - gcc -m32 ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -L/usr/lib32 source/libc/${pkgname}.o -o source/libc/${pkgname} - - # tools - local s - for s in listing prepsrc symbols; do -./source/libc/${pkgname} tools/libc/${s}.asm ${s}.o -gcc -m32 ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o ${s} ${s}.o - done -} - -package() { - cd ${pkgname} - - install -Dm 755 source/libc/${pkgname} -t "${pkgdir}/usr/bin" - # tools - local s - for s in listing prepsrc symbols; do -install -Dm 755 ${s} "${pkgdir}/usr/bin/${pkgname}-${s}" - done - - # docs - install -Dm 644 ${pkgname}.txt whatsnew.txt -t "${pkgdir}/usr/share/doc/${pkgname}" - install -Dm 644 examples/elfexe/*.asm -t "${pkgdir}/usr/share/doc/${pkgname}/examples/elfexe" - install -Dm 644 examples/elfexe/dynamic/*.asm -t "${pkgdir}/usr/share/doc/${pkgname}/examples/elfexe/dynamic" - install -Dm 644 examples/elfexe/dynamic/*.inc -t "${pkgdir}/usr/share/doc/${pkgname}/examples/elfexe/dynamic" - install -Dm 644 examples/elfobj/*.asm -t "${pkgdir}/usr/share/doc/${pkgname}/examples/elfobj" - install -Dm 644 examples/libcdemo/*.asm -t "${pkgdir}/usr/share/doc/${pkgname}/examples/libcdemo" - install -Dm 644 examples/libcdemo/*.inc -t "${pkgdir}/usr/share/doc/${pkgname}/examples/libcdemo" - install -Dm 644 license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} - -# vim: ts=2 sw=2 et: Copied: fasm/repos/community-i686/PKGBUILD (from rev 215905, fasm/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2017-03-12 21:45:11 UTC (rev 215906) @@ -0,0 +1,57 @@ +# Maintainer: Levente Polyak +# Contributor: Chris Andrews +# Contributor: FadeMind +# Contributor: Serge Victor +# Contributor: Krzysztof Wloch +# Contributor: Luke McCarthy + +pkgname=fasm +pkgver=1.71.60 +pkgrel=3 +pkgdesc='Fast and efficient self-assembling x86 assembler for DOS, Windows and Linux operating systems' +url='https://flatassembler.net/' +arch=('i686' 'x86_64') +license=('custom') +depends_i686=('glibc') +depends_x86_64=('lib32-glibc') +source=(${pkgname}-${pkgver}.tgz::https://flatassembler.net/${pkgname}-${pkgver}.tgz) +sha512sums=('6c31fd044a972cb694b84adbb2b18940d9256f12c4ad1acd466b2f9c99c3bc01bfa6daba434e480c7694be5a604809d5f0da8dc41ff09919f0a5f0dda9ad74b3') + +build() { + cd ${pkgname} + CFLAGS+=" -pie" + + # compile fasm with itself + ./fasm source/libc/${pkgname}.asm + gcc -m32 ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -L/usr/lib32 source/libc/${pkgname}.o -o source/libc/${pkgname} + + # tools + local s + for s in listing prepsrc symbols; do +./source/libc/${pkgname} tools/libc/${s}.asm ${s}.o +gcc -m32 ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o ${s} ${s}.o + done +} + +package() { + cd ${pkgname} + + install -Dm 755 source/libc/${pkgname} -t "${pkgdir}/usr/bin" + # tools + local s + for s in listing prepsrc symbols; do +install -Dm 755 ${s} "${pkgdir}/usr/bin/${pkgname}-${s}" + done + + # docs + install -Dm 644 ${pkgname}.txt whatsnew.txt -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm 644 examples/elfexe/*.asm -t "${pkgdir}/usr/share/doc/${pkgname}/examples/elfexe" + install -Dm 644 examples/elfexe/dynamic/*.asm -t "${pkgdir}/usr/share/doc/${pkgname}/examples/elfexe/dynamic" + install -Dm 644 examples/elfexe/dynamic/*.inc -t "${pkgdir}/usr/share/doc/${pkgname}/examples/elfexe/dynamic" +