Date: Sunday, February 10, 2019 @ 20:15:29 Author: anthraxx Revision: 431670
archrelease: copy trunk to multilib-x86_64 Added: fasm/repos/multilib-x86_64/PKGBUILD (from rev 431669, fasm/trunk/PKGBUILD) Deleted: fasm/repos/multilib-x86_64/PKGBUILD ----------+ PKGBUILD | 119 +++++++++++++++++++++++++++++-------------------------------- 1 file changed, 58 insertions(+), 61 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-02-10 20:15:22 UTC (rev 431669) +++ PKGBUILD 2019-02-10 20:15:29 UTC (rev 431670) @@ -1,61 +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.06 -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') -source=(${pkgname}-${pkgver}.tgz::https://flatassembler.net/${pkgname}-${pkgver}.tgz) -sha256sums=('e65608c6bd57deb10678380185fab2cc35961a16a9eaa7188fe00e7b3b9e980b') -sha512sums=('cdbb41eaeba13684f998dc308fea24ed9efa1818ce5f85bc183c365af2287165970c9bc9866ac2c8083619bbfc1a769d383d7092cea5a207fe383473c73a3205') - -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 - echo $s - ./fasm tools/libc/${s}.asm ${s}.o - echo AAAAA - echo gcc -m32 ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o ${s} ${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/multilib-x86_64/PKGBUILD (from rev 431669, fasm/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-02-10 20:15:29 UTC (rev 431670) @@ -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.08 +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') +source=(${pkgname}-${pkgver}.tgz::https://flatassembler.net/${pkgname}-${pkgver}.tgz) +sha256sums=('2725714c06e235fddb727aa6f7dcdd6d14a91de95c3f1f6581065895ddf095d0') +sha512sums=('753d8576ab3a4ce355367cd2390449cd6abdf226228aad1d0ce49df687142436fdc00103826a9900acbe62e9da610e41a274677c448c2866d9f5599e4ccecc1d') + +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: