comparison trix/PKG/PKGBUILD @ 21:bef3b1af6326

trix - package for arch
author Przemyslaw <prymula76@outlook.com>
date Sun, 31 Mar 2024 22:14:33 +0200
parents
children
comparison
equal deleted inserted replaced
20:b637ac9c6605 21:bef3b1af6326
1 # Maintainer: Przemyslaw R. Pietraszczyk <prymula76@outlook.com>
2
3 pkgname=trix
4 pkgver=0.230821
5 pkgrel=1
6 pkgdesc="Clicking on blocks"
7 arch=('x86_64')
8 url="prymula.ct8.pl"
9 license=('Public Domain')
10 provides=('trix')
11 depends=('sdl2' 'sdl2_ttf' 'sdl2_image')
12 makedepends=('make' 'gcc' 'pkg-config' 'sdl2' 'sdl2_ttf' 'sdl2_image')
13 source=("${pkgname}-${pkgver}-${pkgrel}.tar.gz::file://${pkgname}-${pkgver}-${pkgrel}.tar.gz")
14 sha256sums=('e241943d95a625e6ca579783cd078dc98b764338a196eda443dcdaa4e35d0ba4') #generate with 'makepkg -g' || sha256sum
15 build() {
16 cd "$srcdir/${pkgname}-${pkgver}-${pkgrel}"
17 make
18 }
19
20 package() {
21 cd "$srcdir/${pkgname}-${pkgver}-${pkgrel}"
22 make DESTDIR="${pkgdir}" install
23 }