summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2679f8618981ff9589987db42826dc2ee5fe5882 (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
# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>

pkgname=shrinky-intro
pkgver=0.1
pkgrel=1
pkgdesc='Linux 4k intro skeleton'
arch=('x86_64')
url="http://github.org/xyproto/shrinky-intro/"
license=('BSD')
makedepends=('shrinky')
depends=('libgl' 'sdl2')
optdepends=('elfkickers: For stripping with sstrip'
            'vulkan-devel: For Vulkan development')
source=("git+https://github.com/xyproto/shrinky-intro#commit=438ad8b197ff15fb561fe3a0b15d602486e90244")
md5sums=("SKIP")

build() {
  shrinky "$pkgname/main.cpp"
}

package() {
  cd "$pkgname"
  install -Dm755 main "$pkgdir/usr/bin/$pkgname"
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

# vim: ts=2 sw=2 et: