blob: 1253e405848137f801da24793b3275ecf06d7943 (
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
|
# Maintainer: Asayu <asayu.yuki@gmail.com>
pkgname=yasp-git
_gitName="YetAnotherSlotProject"
pkgver=v1.0.2.r0.g2cfb594
pkgrel=1
pkgdesc="A basic slot machine program for linux "
arch=('any')
url="https://github.com/AsayuGit/YetAnotherSlotProject"
license=('GPL2')
depends=(sdl2 sdl2_image sdl2_mixer)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('git+https://github.com/AsayuGit/YetAnotherSlotProject.git')
md5sums=('SKIP')
pkgver() {
cd $_gitName
git describe --tags --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd $_gitName
make
}
package() {
cd $_gitName
make DESTDIR="$pkgdir/" install
}
|