diff arkanoid/PKG/PKGBUILD @ 9:cdadbf30a821

arkanoid-0.7-1_PKG
author prymula <prymula76@outlook.com>
date Sun, 04 Feb 2024 15:47:05 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/arkanoid/PKG/PKGBUILD	Sun Feb 04 15:47:05 2024 +0100
@@ -0,0 +1,23 @@
+# Maintainer: Przemyslaw R. Pietraszczyk <prymula76@outlook.com>
+
+pkgname=arkanoid
+pkgver=0.7
+pkgrel=1
+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=('e3df24892fc4b266c678c0a3e8adc7d8239cdefeb5593b78eb8bd19e119ef3fc') #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
+}