diff lamertetris/PKG/PKGBUILD @ 18:b5e2aba31fdb

lamertetris-0.230821-3 package for arch
author Przemyslaw <prymula76@outlook.com>
date Sun, 31 Mar 2024 15:35:26 +0200
parents
children b637ac9c6605
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lamertetris/PKG/PKGBUILD	Sun Mar 31 15:35:26 2024 +0200
@@ -0,0 +1,23 @@
+# Maintainer: Przemyslaw R. Pietraszczyk <prymula76@outlook.com>
+
+pkgname=lamertetris
+pkgver=2.230821
+pkgrel=3
+pkgdesc="80s classics game"
+arch=('x86_64')
+url="prymula.ct8.pl"
+license=('Public Domain')
+provides=('arkanoid')
+depends=('sdl2' 'sdl2_ttf')
+makedepends=('make' 'gcc' 'pkg-config' 'sdl2' 'sdl2_ttf')
+source=("${pkgname}-${pkgver}-${pkgrel}.tar.gz::file://${pkgname}-${pkgver}-${pkgrel}.tar.gz")
+sha256sums=('c1ac029fa7ce938338cc83108d3c5a297a926b7dcae25c1f2e225fbdfd48f817') #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
+}