Date: Tuesday, March 9, 2021 @ 21:29:03 Author: anthraxx Revision: 887174
archrelease: copy trunk to community-x86_64 Added: fasm/repos/community-x86_64/PKGBUILD (from rev 887173, fasm/trunk/PKGBUILD) Deleted: fasm/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 116 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 58 insertions(+), 58 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-03-09 21:28:59 UTC (rev 887173) +++ PKGBUILD 2021-03-09 21:29:03 UTC (rev 887174) @@ -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.25 -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=('be63f0a3d0758c6abadf6b3e5c94198ab973873448c8d0c824d072bd69c05d0c443e6597f534caafc1cd4644ea1a9401ebb7fc08e573aa901f4b71ee4fd5825b') -b2sums=('8708203438d988b7f2cb436a0343c1d035fb0ba031c8828ff42d8cd6d9560d115ea072fbbb3e1147fdf4fe5c447eda630e75d4db6369f42c4b6d6e5f7c5402b3') - -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 887173, fasm/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-03-09 21:29:03 UTC (rev 887174) @@ -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.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: