summaryrefslogtreecommitdiff
path: root/PKG
diff options
context:
space:
mode:
Diffstat (limited to 'PKG')
-rw-r--r--PKG/PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/PKG/PKGBUILD b/PKG/PKGBUILD
new file mode 100644
index 0000000..8a2e21e
--- /dev/null
+++ b/PKG/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Przemyslaw R. Pietraszczyk <prymula76@outlook.com>
+
+pkgname=colorsmemory
+pkgver=0.210503
+pkgrel=2
+pkgdesc="My implementation Memory game"
+arch=('any')
+url="prymula.ct8.pl"
+license=('GPL3')
+provides=('colorsmemory')
+depends=('jdk-openjdk')
+makedepends=('jdk-openjdk' 'ant')
+source=("${pkgname}-${pkgver}-${pkgrel}.tar.gz::file://${pkgname}-${pkgver}-${pkgrel}.tar.gz")
+sha256sums=('169cb0d635a2e231ab9a4f752a4c9e58409b48fe50895459107f7163bdfa3948') #generate with 'makepkg -g' || sha256sum
+build() {
+ cd "$srcdir/${pkgname}-${pkgver}-${pkgrel}"
+ make -f Makefile.aur
+}
+
+package() {
+ cd "$srcdir/${pkgname}-${pkgver}-${pkgrel}"
+ make -f Makefile.aur DESTDIR="${pkgdir}" install
+}