# HG changeset patch # User Przemyslaw # Date 1711894246 -7200 # Node ID fff7215ba1e8d8a4811b17b03f0882ad969bfe6b # Parent b5e2aba31fdbffd7cbe23c8ca684f934b8ab855d package for arch diff -r b5e2aba31fdb -r fff7215ba1e8 colorsmemory/DEBIAN/colorsmemory.dsc --- a/colorsmemory/DEBIAN/colorsmemory.dsc Sun Mar 31 15:35:26 2024 +0200 +++ b/colorsmemory/DEBIAN/colorsmemory.dsc Sun Mar 31 16:10:46 2024 +0200 @@ -5,18 +5,18 @@ Source: colorsmemory Binary: colorsmemory Architecture: all -Version: 0.210503-1 +Version: 0.210503-2 Maintainer: Przemysław R. Pietraszczyk Homepage: https://prymula.ct8.pl -DEBTRANSFORM-TAR: colorsmemory-0.210503-1.tar.gz +DEBTRANSFORM-TAR: colorsmemory-0.210503-2.tar.gz -Standards-Version: 0.210503-1 +Standards-Version: 0.210503-2 Build-Depends: debhelper-compat (>= 12), default-jdk, default-jdk-headless, fakeroot, ant Package-List: colorsmemory deb x11 optional arch=all Files: - b31649bc23b2b7bca9ab70ea3410711a 128820 colorsmemory-0.210503-1.tar.gz - 29e7e7e60bc81891e3da3871b9eeb549 764 colorsmemory-0.210503-1.debian.tar.xz + b31649bc23b2b7bca9ab70ea3410711a 128820 colorsmemory-0.210503-2.tar.gz + 29e7e7e60bc81891e3da3871b9eeb549 764 colorsmemory-0.210503-2.debian.tar.xz -----BEGIN PGP SIGNATURE----- diff -r b5e2aba31fdb -r fff7215ba1e8 colorsmemory/DEBIAN/debian.control --- a/colorsmemory/DEBIAN/debian.control Sun Mar 31 15:35:26 2024 +0200 +++ b/colorsmemory/DEBIAN/debian.control Sun Mar 31 16:10:46 2024 +0200 @@ -3,7 +3,7 @@ Priority: extra Maintainer: Przemysław R. Pietraszczyk Build-Depends: debhelper-compat (= 12), default-jdk, default-jdk-headless, fakeroot, ant -Standards-Version: 0.210503-1 +Standards-Version: 0.210503-2 Homepage: https://prymula.ct8.pl diff -r b5e2aba31fdb -r fff7215ba1e8 colorsmemory/DEBIAN/format.sh --- a/colorsmemory/DEBIAN/format.sh Sun Mar 31 15:35:26 2024 +0200 +++ b/colorsmemory/DEBIAN/format.sh Sun Mar 31 16:10:46 2024 +0200 @@ -1,1 +1,2 @@ +mkdir ./exec exec /usr/lib/build/debtransform ./ ./colorsmemory.dsc ./exec diff -r b5e2aba31fdb -r fff7215ba1e8 colorsmemory/Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/colorsmemory/Makefile Sun Mar 31 16:10:46 2024 +0200 @@ -0,0 +1,19 @@ +# Link command: +#choinka: engin.o +# gcc engin.o -o choinka + +# Compilation commands: +#engin.o: engin.c +# gcc -c engin.c -o engin.o + + +prefix=/usr + +install: build/jar/ColorsMemory.jar + install -m 0644 build/jar/ColorsMemory.jar $(prefix)/games + mkdir -pm 0755 $(prefix)/share/colorsmemory + mkdir -pm 0755 $(prefix)/share/colorsmemory/icons + install -m 0644 colorsmemory.png $(prefix)/share/colorsmemory/icons + install -m 0644 ColorsMemory.desktop /usr/share/applications + +.PHONY: install diff -r b5e2aba31fdb -r fff7215ba1e8 colorsmemory/Makefile.aur --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/colorsmemory/Makefile.aur Sun Mar 31 16:10:46 2024 +0200 @@ -0,0 +1,20 @@ + +prefix=/usr + +all: + ant compile + ant jar + +clean: + ant clean + +install: build/jar/ColorsMemory.jar + mkdir -pm 0755 $(DESTDIR)$(prefix)/games + mkdir -pm 0755 $(DESTDIR)$(prefix)/share/applications + mkdir -pm 0755 $(DESTDIR)$(prefix)/share/colorsmemory + mkdir -pm 0755 $(DESTDIR)$(prefix)/share/colorsmemory/icons + install -m 0644 build/jar/ColorsMemory.jar $(DESTDIR)$(prefix)/games + install -m 0644 colorsmemory.png $(DESTDIR)$(prefix)/share/colorsmemory/icons + install -m 0644 ColorsMemory.desktop $(DESTDIR)$(prefix)/share/applications + +.PHONY: install diff -r b5e2aba31fdb -r fff7215ba1e8 colorsmemory/PKG/PKGBUILD --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/colorsmemory/PKG/PKGBUILD Sun Mar 31 16:10:46 2024 +0200 @@ -0,0 +1,23 @@ +# Maintainer: Przemyslaw R. Pietraszczyk + +pkgname=colorsmemory +pkgver=0.210503 +pkgrel=2 +pkgdesc="My implementation Memory game" +arch=('any') +url="prymula.ct8.pl" +license=('GPL3') +provides=('colorsmemory') +depends=('jdk-openjdk') +makedepends=('jdk-openjdk' 'ant') +source=("${pkgname}-${pkgver}-${pkgrel}.tar.gz::file://${pkgname}-${pkgver}-${pkgrel}.tar.gz") +sha256sums=('169cb0d635a2e231ab9a4f752a4c9e58409b48fe50895459107f7163bdfa3948') #generate with 'makepkg -g' || sha256sum +build() { + cd "$srcdir/${pkgname}-${pkgver}-${pkgrel}" + make -f Makefile.aur +} + +package() { + cd "$srcdir/${pkgname}-${pkgver}-${pkgrel}" + make -f Makefile.aur DESTDIR="${pkgdir}" install +} diff -r b5e2aba31fdb -r fff7215ba1e8 colorsmemory/RPM/colorsmemory.spec --- a/colorsmemory/RPM/colorsmemory.spec Sun Mar 31 15:35:26 2024 +0200 +++ b/colorsmemory/RPM/colorsmemory.spec Sun Mar 31 16:10:46 2024 +0200 @@ -15,10 +15,10 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%define unmangled_version 0.210503-1 +%define unmangled_version 0.210503-2 Name: colorsmemory Version: 0.210503 -Release: 1 +Release: 2 Summary: My implementation Memory game License: GPL URL: https://prymula.ct8.pl