diff options
author | Michał Walenciak | 2019-03-09 12:47:44 +0100 |
---|---|---|
committer | Michał Walenciak | 2019-03-09 12:47:44 +0100 |
commit | e7c7632cd4299c7af87719c651ac3685fdcd667d (patch) | |
tree | 04018488e996acd9ebb6189c03597cc45bb6fcfc | |
download | aur-e7c7632cd4299c7af87719c651ac3685fdcd667d.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 38 |
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ef0103c747b6 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = openblok + pkgdesc = A customizable, cross platform, open-source falling block game, packed with a bunch of features. + pkgver = 0.7.0 + pkgrel = 1 + url = https://github.com/mmatyas/openblok + arch = i686 + arch = x86_64 + license = GPL3 + makedepends = cmake + source = https://codeload.github.com/mmatyas/openblok/tar.gz/v0.7.0 + md5sums = 0c82fadc6573e4fa0fe84171d169d978 + +pkgname = openblok + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d31bb758adad --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Michał Walenciak <kicer86@gmail.com> +pkgname=openblok +pkgver=0.7.0 +pkgrel=1 +pkgdesc="A customizable, cross platform, open-source falling block game, packed with a bunch of features." +arch=('i686' 'x86_64') +url="https://github.com/mmatyas/openblok" +license=('GPL3') +groups=() +depends=('') +makedepends=('cmake') +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +source=(https://codeload.github.com/mmatyas/$pkgname/tar.gz/v$pkgver) +noextract=() +md5sums=('0c82fadc6573e4fa0fe84171d169d978') + +build() +{ + cd "$pkgname-$pkgver" + mkdir -p build + cd build + cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DEXEDIR=/usr/bin + make +} + +package() +{ + cd "$pkgname-$pkgver" + cd build + make DESTDIR="$pkgdir/" install +} |