diff options
author | Przemyslaw <prymula76@outlook.com> | 2024-04-01 08:55:31 +0200 |
---|---|---|
committer | Przemyslaw <prymula76@outlook.com> | 2024-04-01 08:55:31 +0200 |
commit | 89656e1787faf956c3c122693edc7bb00b1908a3 (patch) | |
tree | f5c44a154b7e667343f3be20f41e4282aed1af9b /PKG |
Init
Diffstat (limited to 'PKG')
-rw-r--r-- | PKG/PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/PKG/PKGBUILD b/PKG/PKGBUILD new file mode 100644 index 0000000..a54d337 --- /dev/null +++ b/PKG/PKGBUILD @@ -0,0 +1,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=('e241943d95a625e6ca579783cd078dc98b764338a196eda443dcdaa4e35d0ba4') #generate with 'makepkg -g' || sha256sum +build() { + cd "$srcdir/${pkgname}-${pkgver}-${pkgrel}" + make +} + +package() { + cd "$srcdir/${pkgname}-${pkgver}-${pkgrel}" + make DESTDIR="${pkgdir}" install +} |