diff options
author | Dusan Saiko | 2015-06-18 20:43:46 +0200 |
---|---|---|
committer | Dusan Saiko | 2015-06-18 20:43:46 +0200 |
commit | 2efd78bd198b290a755c21722ce9285e170dd1e0 (patch) | |
tree | 983f0b6c61482280620a8ab50d10b8d48b1bcb05 /PKGBUILD | |
download | aur-onemoresamegame.tar.gz |
Initial release - migration from AUR 3.x
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ebe76e0b321e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,47 @@ +# Maintainer: Dusan Saiko <dusan.saiko@gmail.com> + +pkgname=onemoresamegame +pkgver=1.2.1 +pkgrel=1 + +pkgdesc="One more version of a puzzle game where you select the same group of pieces." +url="https://github.com/dsaiko/onemoresamegame" + +changelog=CHANGELOG + +arch=('i686' 'x86_64') + +license=('Apache') + +depends=("qt5-base>=5.2.1" "qt5-declarative>" "qt5-graphicaleffects>" "qt5-quickcontrols>" "qt5-script>") + +source=( + 'https://github.com/dsaiko/onemoresamegame/archive/1.2.1.tar.gz' +) + +sha256sums=('15ee0faf1248f907e2adc05407161d9bf1edd5a6a81cb714387c8540fcaab3a4') + +build() { + cd "${srcdir}" + cd "${pkgname}-${pkgver}" + + qmake CONFIG+=release + make +} + +package() { + cd "${srcdir}" + cd "${pkgname}-${pkgver}" + + + install -d -m 755 "${pkgdir}/usr/bin" + install -d -m 755 "${pkgdir}/usr/share/pixmaps" + install -d -m 755 "${pkgdir}/usr/share/applications" + install -d -m 755 "${pkgdir}/usr/share/man/man6" + + install -m 644 "./onemoresamegame.desktop" "${pkgdir}/usr/share/applications/" + install -m 644 "./icon.png" "${pkgdir}/usr/share/pixmaps/onemoresamegame.png" + install -m 755 ./onemoresamegame "${pkgdir}/usr/bin/" + install -m 644 "dist/onemoresamegame.6.gz" "${pkgdir}/usr/share/man/man6/" +} + |