blob: b7bb31a53a8319dcd02367f62e3d6dc0f02caa60 (
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
|
# Maintainer: fuxter <fuxterz@gmail.com>
_name=linapple
pkgname="${_name}-git"
pkgver=2020.06.01.gae9fd93
pkgrel=1
pkgdesc="Apple 2e emulator"
arch=('i686' 'x86_64')
url="https://github.com/linappleii/linapple.git"
license=('GPL2')
depends=('sdl' 'sdl_image' 'zlib' 'libzip' 'curl')
makedepends=('git')
provides=("${_name}")
conflicts=("${_name}")
source=("${_name}::git+https://github.com/linappleii/linapple.git")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${_name}"
git log -1 --format="%cd.g%h" --date=short | sed 's/-/./g'
}
build() {
cd "$srcdir/${_name}"
pwd
export CFLAGS="$CFLAGS $CPPFLAGS"
make PREFIX="/usr"
}
package() {
cd "$srcdir/${_name}"
make DESTDIR="$pkgdir/usr/" install
}
# vim:set ts=2 sw=2 et:
|