annotate arkanoid/PKG/PKGBUILD @ 22:b0c59d056e73

colorsmemory - typo
author Przemyslaw <prymula76@outlook.com>
date Sun, 31 Mar 2024 22:53:32 +0200
parents cdadbf30a821
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
cdadbf30a821 arkanoid-0.7-1_PKG
prymula <prymula76@outlook.com>
parents:
diff changeset
1 # Maintainer: Przemyslaw R. Pietraszczyk <prymula76@outlook.com>
cdadbf30a821 arkanoid-0.7-1_PKG
prymula <prymula76@outlook.com>
parents:
diff changeset
2
cdadbf30a821 arkanoid-0.7-1_PKG
prymula <prymula76@outlook.com>
parents:
diff changeset
3 pkgname=arkanoid
cdadbf30a821 arkanoid-0.7-1_PKG
prymula <prymula76@outlook.com>
parents:
diff changeset
4 pkgver=0.7
cdadbf30a821 arkanoid-0.7-1_PKG
prymula <prymula76@outlook.com>
parents:
diff changeset
5 pkgrel=1
cdadbf30a821 arkanoid-0.7-1_PKG
prymula <prymula76@outlook.com>
parents:
diff changeset
6 pkgdesc="80s classics game"
cdadbf30a821 arkanoid-0.7-1_PKG
prymula <prymula76@outlook.com>
parents:
diff changeset
7 arch=('x86_64')
cdadbf30a821 arkanoid-0.7-1_PKG
prymula <prymula76@outlook.com>
parents:
diff changeset
8 url="prymula.ct8.pl"
cdadbf30a821 arkanoid-0.7-1_PKG
prymula <prymula76@outlook.com>
parents:
diff changeset
9 license=('Public Domain')
cdadbf30a821 arkanoid-0.7-1_PKG
prymula <prymula76@outlook.com>
parents:
diff changeset
10 provides=('arkanoid')
cdadbf30a821 arkanoid-0.7-1_PKG
prymula <prymula76@outlook.com>
parents:
diff changeset
11 depends=('sdl2' 'sdl2_ttf')
cdadbf30a821 arkanoid-0.7-1_PKG
prymula <prymula76@outlook.com>
parents:
diff changeset
12 makedepends=('make' 'gcc' 'pkg-config' 'sdl2' 'sdl2_ttf')
cdadbf30a821 arkanoid-0.7-1_PKG
prymula <prymula76@outlook.com>
parents:
diff changeset
13 source=("${pkgname}-${pkgver}-${pkgrel}.tar.gz::file://${pkgname}-${pkgver}-${pkgrel}.tar.gz")
cdadbf30a821 arkanoid-0.7-1_PKG
prymula <prymula76@outlook.com>
parents:
diff changeset
14 sha256sums=('e3df24892fc4b266c678c0a3e8adc7d8239cdefeb5593b78eb8bd19e119ef3fc') #generate with 'makepkg -g' || sha256sum
cdadbf30a821 arkanoid-0.7-1_PKG
prymula <prymula76@outlook.com>
parents:
diff changeset
15 build() {
cdadbf30a821 arkanoid-0.7-1_PKG
prymula <prymula76@outlook.com>
parents:
diff changeset
16 cd "$srcdir/${pkgname}-${pkgver}-${pkgrel}"
cdadbf30a821 arkanoid-0.7-1_PKG
prymula <prymula76@outlook.com>
parents:
diff changeset
17 make -f Makefile.aur
cdadbf30a821 arkanoid-0.7-1_PKG
prymula <prymula76@outlook.com>
parents:
diff changeset
18 }
cdadbf30a821 arkanoid-0.7-1_PKG
prymula <prymula76@outlook.com>
parents:
diff changeset
19
cdadbf30a821 arkanoid-0.7-1_PKG
prymula <prymula76@outlook.com>
parents:
diff changeset
20 package() {
cdadbf30a821 arkanoid-0.7-1_PKG
prymula <prymula76@outlook.com>
parents:
diff changeset
21 cd "$srcdir/${pkgname}-${pkgver}-${pkgrel}"
cdadbf30a821 arkanoid-0.7-1_PKG
prymula <prymula76@outlook.com>
parents:
diff changeset
22 make -f Makefile.aur DESTDIR="${pkgdir}" install
cdadbf30a821 arkanoid-0.7-1_PKG
prymula <prymula76@outlook.com>
parents:
diff changeset
23 }