diff options
Diffstat (limited to 'testing/nasm')
-rw-r--r-- | testing/nasm/PKGBUILD | 42 | ||||
-rw-r--r-- | testing/nasm/nasm.install | 20 |
2 files changed, 0 insertions, 62 deletions
diff --git a/testing/nasm/PKGBUILD b/testing/nasm/PKGBUILD deleted file mode 100644 index 9085d5e61..000000000 --- a/testing/nasm/PKGBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# $Id: PKGBUILD 132063 2011-07-19 17:35:27Z stephane $ -# Maintainer: Aaron Griffin <aaron@archlinux.org> - -pkgbase=nasm -pkgname=('nasm' 'nasm-doc') -pkgver=2.09.10 -pkgrel=1 -arch=('i686' 'x86_64') -url="http://www.nasm.us" -license=('BSD') -makedepends=('ghostscript') -source=(http://www.nasm.us/pub/nasm/releasebuilds/${pkgver}/${pkgbase}-${pkgver}.tar.bz2) -md5sums=('15c79dcb5838870a0fac15feb5fade66') -sha1sums=('ca57a7454b29e18c64018e49cdf5c832937497ab') - -build() { - cd "${srcdir}/${pkgbase}-${pkgver}" - ./configure --prefix=/usr - make everything -} - -package_nasm() { - pkgdesc="An 80x86 assembler designed for portability and modularity" - depends=('glibc') - install=nasm.install - - cd "${srcdir}/${pkgbase}-${pkgver}" - make INSTALLROOT="${pkgdir}" install install_rdf - install -d "${pkgdir}/usr/share/info" - install -m644 doc/info/* "${pkgdir}/usr/share/info/" - install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/nasm/LICENSE" -} - -package_nasm-doc() { - pkgdesc="An 80x86 assembler designed for portability and modularity (manuals)" - - cd "${srcdir}/${pkgbase}-${pkgver}/doc" - install -d "${pkgdir}/usr/share/doc/nasm/html" - install -m644 html/* "${pkgdir}/usr/share/doc/nasm/html/" - install -m644 nasmdoc.ps nasmdoc.pdf nasmdoc.txt "${pkgdir}/usr/share/doc/nasm/" - install -D -m644 ../LICENSE "${pkgdir}/usr/share/licenses/nasm-doc/LICENSE" -} diff --git a/testing/nasm/nasm.install b/testing/nasm/nasm.install deleted file mode 100644 index e4baa9808..000000000 --- a/testing/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 -} |