blob: a6cf420e7dd852f1c08a6b72fd05f8ef1d9dcf33 (
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: Astro <astroncityStatic@gmail.com>
pkgname='cosmic-ascent'
pkgver=v1.0.1.alpha
pkgrel=2
pkgdesc="A 2D top-down rogue-like currently in development"
arch=('x86_64')
url="https://github.com/Astroncity/Cosmic-Ascent"
license=('MIT')
depends=('glibc' 'raylib')
makedepends=('git')
source=("$pkgname::git+https://github.com/Astroncity/Cosmic-Ascent.git")
md5sums=('SKIP')
pkgver(){
cd "$pkgname"
git describe --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$pkgname"
make
}
package() {
cd "$pkgname"
install -Dm755 ./bin/cosmic-ascent "$pkgdir/usr/bin/cosmic-ascent"
install -Dm644 ./README.md "$pkgdir/usr/share/doc/cosmic-ascent/README.md"
install -Dm644 ./LICENSE "$pkgdir/usr/share/licenses/cosmic-ascent/LICENSE"
}
|