Mercurial > hg > pub > prymula > com
changeset 21:bef3b1af6326
trix - package for arch
author | Przemyslaw <prymula76@outlook.com> |
---|---|
date | Sun, 31 Mar 2024 22:14:33 +0200 |
parents | b637ac9c6605 |
children | b0c59d056e73 |
files | trix/DEBIAN/debian.control trix/DEBIAN/format.sh trix/DEBIAN/trix.dsc trix/Makefile trix/PKG/PKGBUILD trix/RPM/trix.spec |
diffstat | 5 files changed, 42 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- a/trix/DEBIAN/debian.control Sun Mar 31 16:21:08 2024 +0200 +++ b/trix/DEBIAN/debian.control Sun Mar 31 22:14:33 2024 +0200 @@ -3,7 +3,7 @@ Priority: extra Maintainer: Przemysław R. Pietraszczyk Build-Depends: debhelper-compat (= 12), libsdl2-dev, libsdl2-ttf-dev, libsdl2-image-dev, fakeroot, g++ -Standards-Version: 2.230821-0~beta +Standards-Version: 2.230821-1 Homepage: https://prymula.ct8.pl @@ -11,3 +11,4 @@ Architecture: amd64 Depends: ${misc:Depends}, libsdl2-2.0-0, libsdl2-ttf-2.0-0, libsdl2-image-2.0-0 Description: My implementation of the cult game +
--- a/trix/DEBIAN/trix.dsc Sun Mar 31 16:21:08 2024 +0200 +++ b/trix/DEBIAN/trix.dsc Sun Mar 31 22:14:33 2024 +0200 @@ -5,19 +5,19 @@ Source: trix Binary: trix Architecture: amd64 -Version: 0.230821-0~beta +Version: 0.230821-1 Maintainer: Przemysław R. Pietraszczyk <prymula76@outlook.com> Homepage: http://prymula.ct8.pl -DEBTRANSFORM-TAR: trix-0.230821-0~beta.tar.gz +DEBTRANSFORM-TAR: trix-0.230821-1.tar.gz -Standards-Version: 0.230821-0~beta +Standards-Version: 0.230821-1 Build-Depends: debhelper-compat (>= 12), libsdl2-dev, libsdl2-ttf-dev, libsdl2-image-dev, fakeroot, g++ Package-List: - lamertetris deb x11 optional arch=amd64 + lamertetris deb x11 optional arch=amd64 arch=armv7l Files: - b31649bc23b2b7bca9ab70ea3410711a 128820 trix-0.230821-0~beta.tar.gz - 29e7e7e60bc81891e3da3871b9eeb549 764 trix-0.230821-0~beta.debian.tar.xz + b31649bc23b2b7bca9ab70ea3410711a 128820 trix-0.230821-1.tar.gz + 29e7e7e60bc81891e3da3871b9eeb549 764 trix-0.230821-1.debian.tar.xz -----BEGIN PGP SIGNATURE-----
--- a/trix/Makefile Sun Mar 31 16:21:08 2024 +0200 +++ b/trix/Makefile Sun Mar 31 22:14:33 2024 +0200 @@ -13,7 +13,6 @@ CFLAGS += -g -Wall `pkg-config --cflags $(PACKAGES)` -DLINUX #LDFLAGS += -ldl PREFIX = /usr -#EXAMPLE_BIN contains list of example binaries to build all: $(APP_BIN) @@ -27,14 +26,14 @@ $(CC) $(CFLAGS) -c $< -o $@ install: - install -d $(PREFIX)/share/trix $(PREFIX)/share/trix/img $(PREFIX)/share/trix/img/bg - install trix $(PREFIX)/bin - install ZapfHumanist.ttf $(PREFIX)/share/trix - install img/*.bmp $(PREFIX)/share//trix/img - install img/bg/*.txt $(PREFIX)/share/trix/img/bg - install img/bg/*.jpeg $(PREFIX)/share/trix/img/bg - install img/*.png $(PREFIX)/share/trix/img - install Trix.desktop /usr/share/applications + install -d $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(PREFIX)/share/trix $(DESTDIR)$(PREFIX)/share/trix/img $(DESTDIR)$(PREFIX)/share/trix/img/bg + install trix $(DESTDIR)$(PREFIX)/bin + install ZapfHumanist.ttf $(DESTDIR)$(PREFIX)/share/trix + install img/*.bmp $(DESTDIR)$(PREFIX)/share//trix/img + install img/bg/*.txt $(DESTDIR)$(PREFIX)/share/trix/img/bg + install img/bg/*.jpeg $(DESTDIR)$(PREFIX)/share/trix/img/bg + install img/*.png $(DESTDIR)$(PREFIX)/share/trix/img + install Trix.desktop $(DESTDIR)/usr/share/applications uninstall:
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/trix/PKG/PKGBUILD Sun Mar 31 22:14:33 2024 +0200 @@ -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 +}
--- a/trix/RPM/trix.spec Sun Mar 31 16:21:08 2024 +0200 +++ b/trix/RPM/trix.spec Sun Mar 31 22:14:33 2024 +0200 @@ -15,11 +15,11 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%define unmangled_version 0.230821-0~beta +%define unmangled_version 0.230821-1 Name: trix Version: 0.230821 -Release: 0~beta -Summary: clicking on blocks +Release: 1 +Summary: Clicking on blocks License: CC-PDDC URL: http://prymula.ct8.pl Source0: %{name}-%{unmangled_version}.tar.gz