core/yasm/PKGBUILD

36 lines
879 B
Bash
Raw Normal View History

#
# Platform Packages for Chakra, part of chakra-project.org
#
2013-02-17 02:36:39 +08:00
# maintainer abveritas[at]chakra-project[dot]org>
pkgname=yasm
2016-01-02 12:57:13 +08:00
pkgver=1.3.0
pkgrel=1
pkgdesc="A rewrite of NASM to allow for multiple syntax supported (NASM, TASM, GAS, etc.)"
2013-02-17 02:36:39 +08:00
arch=('x86_64')
url="http://www.tortall.net/projects/yasm/"
2016-01-02 12:57:13 +08:00
license=('BSD' 'GPL2' 'LGPL2.1' 'PerlArtistic')
depends=('glibc')
2016-01-02 12:57:13 +08:00
options=('staticlibs')
source=(http://www.tortall.net/projects/yasm/releases/${pkgname}-${pkgver}.tar.gz)
sha1sums=('b7574e9f0826bedef975d64d3825f75fbaeef55e')
build() {
2016-01-02 12:57:13 +08:00
cd ${pkgname}-${pkgver}
./configure --prefix=/usr
make
}
2013-02-17 02:36:39 +08:00
check() {
2016-01-02 12:57:13 +08:00
cd ${pkgname}-${pkgver}
2013-02-17 02:36:39 +08:00
make check
}
package() {
2016-01-02 12:57:13 +08:00
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 BSD.txt "${pkgdir}/usr/share/licenses/${pkgname}/BSD.txt"
}