annotate lamertetris/PKG/PKGBUILD @ 22:b0c59d056e73

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