From d8afc9f5c2aa97a96ca326c0178a7fc9577afaaf Mon Sep 17 00:00:00 2001 From: Przemyslaw Date: Mon, 1 Apr 2024 09:02:22 +0200 Subject: Init --- PKG/PKGBUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 PKG/PKGBUILD (limited to 'PKG/PKGBUILD') diff --git a/PKG/PKGBUILD b/PKG/PKGBUILD new file mode 100644 index 0000000..53540e8 --- /dev/null +++ b/PKG/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Przemyslaw R. Pietraszczyk + +pkgname=kopieckreta +pkgver=0.230924 +pkgrel=0 +pkgdesc="My version of the Pyramid of Words" +arch=('any') +url="prymula.ct8.pl" +license=('GPL3') +provides=('kopieckreta') +depends=('jdk-openjdk') +makedepends=('jdk-openjdk' 'ant') +source=("${pkgname}-${pkgver}-${pkgrel}.tar.gz::file://${pkgname}-${pkgver}-${pkgrel}.tar.gz") +sha256sums=('f3bbfef777c3ac3e8e0f1f13c8b09b4844644ecaa26f36dfc2d3f4fca52bd797') #generate with 'makepkg -g' || sha256sum +build() { + cd "$srcdir/${pkgname}-${pkgver}-${pkgrel}" + make +} + +package() { + cd "$srcdir/${pkgname}-${pkgver}-${pkgrel}" + make DESTDIR="${pkgdir}" install +} -- cgit v1.2.3