Date: Wednesday, May 4, 2022 @ 09:48:59 Author: arojas Revision: 1192936
archrelease: copy trunk to community-x86_64 Added: fasm/repos/community-x86_64/PKGBUILD (from rev 1192935, fasm/trunk/PKGBUILD) Deleted: fasm/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 116 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 58 insertions(+), 58 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-05-04 09:48:49 UTC (rev 1192935) +++ PKGBUILD 2022-05-04 09:48:59 UTC (rev 1192936) @@ -1,58 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> -# Contributor: Chris Andrews <christophersimonandrews [at] gmail [dot] com> -# Contributor: FadeMind <fadem...@gmail.com> -# Contributor: Serge Victor <a...@random.re> -# Contributor: Krzysztof Wloch <wloszekk [at] gmail [dot] com> -# Contributor: Luke McCarthy <l...@iogopro.co.uk> - -pkgname=fasm -pkgver=1.73.27 -pkgrel=1 -pkgdesc='Fast and efficient self-assembling x86 assembler for DOS, Windows and Linux operating systems' -url='https://flatassembler.net/' -arch=('x86_64') -license=('custom') -depends_x86_64=('lib32-glibc' 'lib32-gcc-libs') -source=(https://flatassembler.net/${pkgname}-${pkgver}.tgz) -sha512sums=('07e6e3a0aa9ba416c0688a97d136f62acde3063edcf7731cefa626e1a552485edd5f5825107744bf82a153c1619cd81a9e9136de771edbba358731d6c561ed44') -b2sums=('27ad968058f5246084b1be4d0cc0296e2cfb5035fbd8e741f779f4b3d907b64e93d634c051fc903adae7edfed4932056e24022ad1d77b6e6dd80fe53ef0739e6') - -build() { - cd ${pkgname} - - if [ "${CARCH}" == "x86_64" ]; then - SRCDIR=Linux/x64 - ./fasm.x64 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-x86_64/PKGBUILD (from rev 1192935, fasm/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-05-04 09:48:59 UTC (rev 1192936) @@ -0,0 +1,58 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Chris Andrews <christophersimonandrews [at] gmail [dot] com> +# Contributor: FadeMind <fadem...@gmail.com> +# Contributor: Serge Victor <a...@random.re> +# Contributor: Krzysztof Wloch <wloszekk [at] gmail [dot] com> +# Contributor: Luke McCarthy <l...@iogopro.co.uk> + +pkgname=fasm +pkgver=1.73.30 +pkgrel=1 +pkgdesc='Fast and efficient self-assembling x86 assembler for DOS, Windows and Linux operating systems' +url='https://flatassembler.net/' +arch=('x86_64') +license=('custom') +depends_x86_64=('lib32-glibc' 'lib32-gcc-libs') +source=(https://flatassembler.net/${pkgname}-${pkgver}.tgz) +sha512sums=('1f2fa2099be41c6d30acde5361293a67b31a2f8e63f5a9bfb2b0becc53cb519340e6382c9a0d13da9a898912a8f556a53b372c74e208314c0a72ed3bec97c41a') +b2sums=('6364e455cb487a81cabe66ad4f747ae4d2773ff8d4dbc9ef118a6426eefb043e635611cea58b1e727822f905c3140a63b4d06d60f92d363ce7e06c9e6fb9f76b') + +build() { + cd ${pkgname} + + if [ "${CARCH}" == "x86_64" ]; then + SRCDIR=Linux/x64 + ./fasm.x64 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: