mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 17:57:13 +08:00
29 lines
827 B
Bash
29 lines
827 B
Bash
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/nasm
|
|
|
|
pkgname=nasm
|
|
pkgver=2.11.08
|
|
pkgrel=1
|
|
pkgdesc="80x86 assembler designed for portability and modularity"
|
|
url="http://www.nasm.us"
|
|
license=('BSD')
|
|
arch=('x86_64')
|
|
depends=('glibc')
|
|
install=nasm.install
|
|
source=(http://www.nasm.us/pub/nasm/releasebuilds/${pkgver}/${pkgname}-${pkgver}.tar.xz)
|
|
sha1sums=('6908296ac437b3ade79fadfaad0efcfd99582f70')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr
|
|
make
|
|
make -C doc info
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${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"
|
|
}
|