annotate trix/PKG/PKGBUILD @ 25:404e262cd7e7 default tip

png rm
author Przemyslaw <prymula76@outlook.com>
date Mon, 01 Apr 2024 07:18:10 +0200
parents bef3b1af6326
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
21
bef3b1af6326 trix - package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
1 # Maintainer: Przemyslaw R. Pietraszczyk <prymula76@outlook.com>
bef3b1af6326 trix - package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
2
bef3b1af6326 trix - package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
3 pkgname=trix
bef3b1af6326 trix - package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
4 pkgver=0.230821
bef3b1af6326 trix - package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
5 pkgrel=1
bef3b1af6326 trix - package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
6 pkgdesc="Clicking on blocks"
bef3b1af6326 trix - package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
7 arch=('x86_64')
bef3b1af6326 trix - package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
8 url="prymula.ct8.pl"
bef3b1af6326 trix - package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
9 license=('Public Domain')
bef3b1af6326 trix - package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
10 provides=('trix')
bef3b1af6326 trix - package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
11 depends=('sdl2' 'sdl2_ttf' 'sdl2_image')
bef3b1af6326 trix - package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
12 makedepends=('make' 'gcc' 'pkg-config' 'sdl2' 'sdl2_ttf' 'sdl2_image')
bef3b1af6326 trix - package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
13 source=("${pkgname}-${pkgver}-${pkgrel}.tar.gz::file://${pkgname}-${pkgver}-${pkgrel}.tar.gz")
bef3b1af6326 trix - package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
14 sha256sums=('e241943d95a625e6ca579783cd078dc98b764338a196eda443dcdaa4e35d0ba4') #generate with 'makepkg -g' || sha256sum
bef3b1af6326 trix - package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
15 build() {
bef3b1af6326 trix - package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
16 cd "$srcdir/${pkgname}-${pkgver}-${pkgrel}"
bef3b1af6326 trix - package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
17 make
bef3b1af6326 trix - package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
18 }
bef3b1af6326 trix - package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
19
bef3b1af6326 trix - package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
20 package() {
bef3b1af6326 trix - package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
21 cd "$srcdir/${pkgname}-${pkgver}-${pkgrel}"
bef3b1af6326 trix - package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
22 make DESTDIR="${pkgdir}" install
bef3b1af6326 trix - package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
23 }