blob: 76fec2440dc634fa493c7ae2040d74390d09ae5e (
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
|
# contributed by fenugrec 2018/11
# note : this only compiles the minimum amount of docs.
# The author calls this 'AS' but names his Debian package 'asl'.
# Unfortunately there's an old, unrelated 'asl' package in AUR,
# and 'as' would clash with "GNU AS", therefore this is 'mas'.
#
pkgname=mas
_pkgbuild=231
pkgver=1.42b${_pkgbuild}
_pkgfilebase=asl-current
_pkgfile=${_pkgfilebase}-142-bld${_pkgbuild}
pkgrel=1
pkgdesc="Macro cross-assembler (asl) for various processors and microcontrollers."
arch=("i686" "x86_64")
url='http://john.ccac.rwth-aachen.de:8000/as/'
license=('GPL2')
#required for full docs
#makedepends=('texlive-core')
source=("http://john.ccac.rwth-aachen.de:8000/ftp/as/source/c_version/${_pkgfile}.tar.bz2"
"Makefile.def"
"makefile_nodocs.patch")
sha256sums=('d4186fd32bc00606ca15add6c978b91340d007047b7b830b9ec0dc95516e97e5'
'a245fe24db2359b36f2224f7a70914979593c20beb633f10b9ca7bdcfa033851'
'67c5d45388250f030c0cf5dfa4c18bec0f55aa2d5ae9b21875d32b0167d3e9d7')
prepare() {
cd "${_pkgfilebase}"
cp ../Makefile.def .
patch -i ../makefile_nodocs.patch
}
build() {
cd "${_pkgfilebase}"
make
}
package() {
cd "${_pkgfilebase}"
make DESTDIR="$pkgdir" install
}
|