From 08498978fa76881f33bf5cfbc6a736ae59ec97dd Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Mon, 28 Jan 2019 20:23:36 +0000 Subject: nasm: update to 2.14.02 --- abs/core/nasm/PKGBUILD | 29 +++++++++++++++-------------- abs/core/nasm/nasm.install | 20 -------------------- 2 files changed, 15 insertions(+), 34 deletions(-) delete mode 100644 abs/core/nasm/nasm.install diff --git a/abs/core/nasm/PKGBUILD b/abs/core/nasm/PKGBUILD index eff9c02..e9f285f 100644 --- a/abs/core/nasm/PKGBUILD +++ b/abs/core/nasm/PKGBUILD @@ -1,29 +1,30 @@ -# $Id$ -# Maintainer: Eric Bélanger +# Maintainer: Levente Polyak +# Contributor: Eric Bélanger pkgname=nasm -pkgver=2.11.08 +pkgver=2.14.02 pkgrel=1 -pkgdesc="An 80x86 assembler designed for portability and modularity" -arch=('i686' 'x86_64') -url="http://www.nasm.us" +pkgdesc='80x86 assembler designed for portability and modularity' +url='https://www.nasm.us' +arch=('x86_64') license=('BSD') depends=('glibc') -install=nasm.install -source=(http://www.nasm.us/pub/nasm/releasebuilds/${pkgver}/${pkgname}-${pkgver}.tar.xz) -sha1sums=('6908296ac437b3ade79fadfaad0efcfd99582f70') +makedepends=('perl-font-ttf' 'perl-sort-versions' 'fontconfig' 'adobe-source-sans-pro-fonts' + 'ttf-liberation' 'ghostscript' 'xmlto' 'asciidoc') +source=(https://www.nasm.us/pub/nasm/releasebuilds/${pkgver}/${pkgname}-${pkgver}.tar.xz) +sha512sums=('c7a228095f37321d57f2813d04f58ee66949e8f81fc49ef6c4ecd391301e308217583ce1a265d4fe8c13d54b5b9c72aeb132caa3caee36e31b6555fbfff34c81') build() { cd ${pkgname}-${pkgver} ./configure --prefix=/usr make - make -C doc info + make -C doc } package() { cd ${pkgname}-${pkgver} - make INSTALLROOT="${pkgdir}" install install_rdf - install -dm755 "${pkgdir}"/usr/share/info - install -m644 doc/info/* "${pkgdir}"/usr/share/info/ - install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/nasm/LICENSE + make DESTDIR="${pkgdir}" install install_rdf + install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/nasm } + +# vim: ts=2 sw=2 et: diff --git a/abs/core/nasm/nasm.install b/abs/core/nasm/nasm.install deleted file mode 100644 index e4baa98..0000000 --- a/abs/core/nasm/nasm.install +++ /dev/null @@ -1,20 +0,0 @@ -infodir=usr/share/info -filelist=(nasm.info) - -post_install() { - [ -x usr/bin/install-info ] || return 0 - for file in ${filelist[@]}; do - install-info $infodir/$file.gz $infodir/dir 2> /dev/null - done -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - [ -x usr/bin/install-info ] || return 0 - for file in ${filelist[@]}; do - install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null - done -} -- cgit v0.12