summaryrefslogtreecommitdiff
path: root/PKG/PKGBUILD
blob: 879745ed30044fdc8f4520c187bd41d4e6cce268 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Przemyslaw R. Pietraszczyk <prymula76@outlook.com>

pkgname=trix
pkgver=0.230821
pkgrel=1
pkgdesc="Clicking on blocks"
arch=('x86_64')
url="prymula.ct8.pl"
license=('Public Domain')
provides=('trix')
depends=('sdl2' 'sdl2_ttf' 'sdl2_image')
makedepends=('make' 'gcc' 'pkg-config' 'sdl2' 'sdl2_ttf' 'sdl2_image')
source=("${pkgname}-${pkgver}-${pkgrel}.tar.gz::file://${pkgname}-${pkgver}-${pkgrel}.tar.gz")
sha256sums=('62098d502688e03d4907c7ab2144c7a5dbbd05384a814642a9014b708fa12f27') #generate with 'makepkg -g' || sha256sum
build() {
	cd "$srcdir/${pkgname}-${pkgver}-${pkgrel}"
	make
}

package() {
	cd "$srcdir/${pkgname}-${pkgver}-${pkgrel}"
	make DESTDIR="${pkgdir}" install
}