diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2679f8618981 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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: |