blob: af8793c72b2ae9ed964593bde78dd02ee275aabd (
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
#
# Maintainer: Uffe Jakobsen <_microtop_|_at_|_starion_|_dot_|_dk_>
#
pkgname=acme-upstream-git
_pkgname=acme
pkgver=r423
pkgrel=1
pkgdesc="Cross-assembler for MOS 6502, 6510, 4502, 65816, 65C02, 65CE02, R65C02, W65C02 and C64DTV2 CPUs - SourceForge upstream repo"
arch=('i686' 'x86_64')
url="https://sourceforge.net/projects/acme-crossass/"
license=('GPL-2.0-only')
source=(${_pkgname}::svn+https://svn.code.sf.net/p/acme-crossass/code-0/trunk)
#url="https://github.com/uffejakobsen/acme"
#source=(git+https://github.com/uffejakobsen/acme.git)
#url="http://www.esw-heim.tu-clausthal.de/~marco/smorbrod/acme"
#source=(http://www.esw-heim.tu-clausthal.de/~marco/smorbrod/${pkgname}/current/${_pkgname}${pkgver}src.tar.bz2)
depends=('glibc')
makedepends=('git')
conflicts=('acme' 'acme-git')
provides=('acme')
sha256sums=('SKIP')
pkgver()
{
cd "${srcdir}/${_pkgname}"
# vcs: git
#printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
# vcs: svn
local ver="$(svnversion)"
printf "r%s" "${ver//[[:alpha:]]}"
# vcs: fallback
#date +%Y%m%d
}
build()
{
cd "${srcdir}/${_pkgname}/src"
make || return 1
}
package()
{
cd "${srcdir}/${_pkgname}/"
install -D -m755 src/acme ${pkgdir}/usr/bin/acme
#
install -D -d ${pkgdir}/usr/share/acme
cp -R ACME_Lib docs examples "${pkgdir}/usr/share/acme/"
#
install -D -d ${pkgdir}/usr/share/doc
ln -s ../acme/docs "${pkgdir}/usr/share/doc/acme"
}
#
# EOF
#
|