mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-19 14:25:33 +08:00
25 lines
688 B
Bash
25 lines
688 B
Bash
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/nasm
|
|
|
|
pkgname=nasm
|
|
pkgver=2.14.02
|
|
pkgrel=1
|
|
pkgdesc="80x86 assembler designed for portability and modularity"
|
|
url="https://www.nasm.us"
|
|
license=('BSD')
|
|
arch=('x86_64')
|
|
depends=('glibc')
|
|
source=(http://www.nasm.us/pub/nasm/releasebuilds/${pkgver}/${pkgname}-${pkgver}.tar.xz)
|
|
sha1sums=('7e9cb20d49ca279c72125b2701b3457c9d1609a5')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install install_rdf
|
|
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/nasm/LICENSE"
|
|
}
|