summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorluigoalma2018-07-27 01:56:34 +0100
committerluigoalma2018-07-27 01:56:34 +0100
commit8b9d5438bf75020bfba6e06afe6018814eb29bd8 (patch)
tree92ad3180b0bdda4b3322508d9604a6c3da8b1ae3 /PKGBUILD
downloadaur-8b9d5438bf75020bfba6e06afe6018814eb29bd8.tar.gz
Initial commit
Adding simple2d to aur
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..41ca04a3f67
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Luis Marques <luigoalma at gmail dot com>
+
+pkgname=simple2d
+pkgver=0.9.0
+pkgrel=1
+pkgdesc="Simple, open-source 2D graphics for everyone"
+arch=('i686' 'x86_64')
+url="https://github.com/simple2d/simple2d"
+license=('MIT')
+depends=('sdl2' 'sdl2_image' 'sdl2_mixer' 'sdl2_ttf')
+options=('staticlibs' '!emptydirs')
+source=(simple2d-v${pkgver}.tar.gz::https://github.com/simple2d/simple2d/archive/v${pkgver}.tar.gz)
+sha256sums=('c03497b47a74dd220be8ff3aeedfa42bce36babd23df582281bf0f0c8b48ef0f')
+
+build() {
+ cd "$srcdir"/simple2d-${pkgver}
+ make
+}
+
+package() {
+ cd "$srcdir"/simple2d-${pkgver}
+ make install PREFIX="$pkgdir"/usr
+ rm -rf "$pkgdir"/usr/bin
+}