blob: 98960f3b11ba6192f1b566082021992b5a67a5a5 (
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
|
# Maintainer: Martin Thierer <thierer@web.de>
pkgname=cc1541-git
pkgver=4.0.r0.gdec8ab8
pkgrel=1
pkgdesc='Tool for creating .d64 images with custom sector interleaving etc.'
url='https://bitbucket.org/PTV_Claus/cc1541/src/master/'
license=('custom')
makedepends=('git' 'asciidoc')
provides=('cc1541')
arch=('x86_64')
source=("${pkgname}::git+https://bitbucket.org/PTV_Claus/cc1541.git")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${srcdir}/${pkgname}"
make cc1541 man
}
check() {
cd "${srcdir}/${pkgname}"
make check
}
package() {
cd "${srcdir}/${pkgname}"
install -D -m755 -t ${pkgdir}/usr/bin/ cc1541
install -D -m644 -t ${pkgdir}/usr/share/doc/${pkgname}/ README.md
install -D -m644 -t ${pkgdir}/usr/share/licenses/${pkgname}/ LICENSE.txt
install -D -m644 -t ${pkgdir}/usr/share/man/man1/ cc1541.1
install -D -m644 -t ${pkgdir}/usr/share/${pkgname}/ transwarp*.prg
}
|