diff options
author | Przemyslaw <prymula76@outlook.com> | 2024-04-01 09:01:24 +0200 |
---|---|---|
committer | Przemyslaw <prymula76@outlook.com> | 2024-04-01 09:01:24 +0200 |
commit | 18e499686d1c9991b65dc79272038b291bc14c5d (patch) | |
tree | 00b9d71f9c609e5e6fe990ea937822c3768032c9 /PKG |
Init
Diffstat (limited to 'PKG')
-rw-r--r-- | PKG/PKGBUILD | 23 |
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 +} |