blob: 17bb34302afcd31634348c71cb6e5338b921d9b8 (
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: Markus Kitsinger (SwooshyCueb) <root@swooshalicio.us>
pkgname=libvm68k-git
pkgver=2.alpha.4.r83.gd1c38e6
pkgrel=3
pkgdesc="M68000 ISA virtual machine components implemented in C++ "
arch=('i686' 'x86_64')
depends=()
makedepends=('git' 'make' 'pkg-config')
checkdepends=('cppunit')
url="https://www.vx68k.org/vx68k"
license=('GPL3')
source=(${pkgname%-git}::git+https://bitbucket.org/kazssym/libvm68k.git)
sha256sums=('SKIP')
provides=('libvm68k')
conflicts=('libvm68k')
pkgver() {
cd "$srcdir/${pkgname%-git}"
gitdescr="$(git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g')"
echo "${gitdescr##release/}"
}
build() {
cd "$srcdir/${pkgname%-git}"
#autoreconf
./configure --prefix=/usr --with-gnu-ld
make
}
check() {
cd "$srcdir/${pkgname%-git}"
make check
}
package() {
cd "$srcdir/${pkgname%-git}"
install -Dm 644 COPYING -t "$pkgdir/usr/share/licenses/libvm68k"
make DESTDIR="$pkgdir" install
}
|