blob: 4e945299b63c64ae73c56e2d731c6bd2c5ff0ee2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=yasm-git
pkgver=1.3.0.r36.ge256985c
pkgrel=1
pkgdesc="A complete rewrite of the NASM assembler under the BSD License"
arch=('i686' 'x86_64')
url="https://yasm.tortall.net/"
license=('BSD')
depends=('glibc')
makedepends=('git')
provides=('yasm')
conflicts=('yasm')
source=("git+https://github.com/yasm/yasm.git")
sha256sums=('SKIP')
pkgver() {
cd "yasm"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "yasm"
./autogen.sh
./configure --prefix="/usr"
make
}
check() {
cd "yasm"
#make check
}
package() {
cd "yasm"
make DESTDIR="$pkgdir" install
install -Dm644 "COPYING" "$pkgdir/usr/share/licenses/yasm/COPYING"
install -Dm644 "BSD.txt" "$pkgdir/usr/share/licenses/yasm/BSD.txt"
}
|