blob: 86fba4c54ed727acb926bf3889ac1106ef35d0fc (
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
|
# Maintainer: Hugo Courtial <hugo@courtial.me>
pkgname=spasm-ng-git
pkgver=v0.5.beta.2.63.g61d8ff5
pkgrel=1
pkgdesc="z80 assembler with extra features for TI calculators"
arch=('any')
url="https://github.com/alberthdev/spasm-ng"
license=('GPL')
depends=('gmp' 'openssl')
makedepends=('gcc' 'make')
source=('spasm-ng::git://github.com/alberthdev/spasm-ng')
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/spasm-ng"
git describe --always | sed 's|-|.|g'
}
build() {
cd "${srcdir}/spasm-ng"
make version opt spasm
}
package() {
export DESTDIR="$pkgdir/usr"
mkdir -p "$pkgdir/usr/bin"
cd "${srcdir}/spasm-ng"
make install
}
|