Mercurial > hg > pub > prymula > com
annotate lamertetris/PKG/PKGBUILD @ 19:fff7215ba1e8
package for arch
author | Przemyslaw <prymula76@outlook.com> |
---|---|
date | Sun, 31 Mar 2024 16:10:46 +0200 |
parents | b5e2aba31fdb |
children | b637ac9c6605 |
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') |
b5e2aba31fdb
lamertetris-0.230821-3 package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff
changeset
|
10 provides=('arkanoid') |
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 } |