blob: 981eba8511d8b9bfdf621232bda29e0e1f0aa62a (
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
|
_pkgname=yapsit
pkgname=${_pkgname}-git
pkgver=r32.58c50c9
pkgrel=1
pkgdesc="Yet Another Pokémon Sprite In your Terminal"
url="https://github.com/tomKPZ/yapsit"
arch=("x86_64")
depends=("glibc")
makedepends=("cmake" "git" "python-pillow")
license=('GPL3')
source=("git+https://github.com/tomKPZ/yapsit.git")
md5sums=("SKIP")
pkgver() {
cd "$srcdir/${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "$srcdir/${_pkgname}"
git submodule update --init --recursive
}
build() {
cd "$srcdir/${_pkgname}"
cmake . -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "$srcdir/${_pkgname}"
make DESTDIR="$pkgdir" install
}
|