changeset 9:b2ef499536b0

postagelabels-0.220220-3-PKG_FIX
author prymula <prymula76@outlook.com>
date Sun, 04 Feb 2024 18:32:31 +0100
parents 17820dc7c088
children ed9556d0c5d7
files postagelabels/DEBIAN/debian.changelog postagelabels/DEBIAN/format.sh postagelabels/DEBIAN/postagelabels.dsc postagelabels/Makefile.aur postagelabels/PKG/PKGBUILD
diffstat 4 files changed, 25 insertions(+), 26 deletions(-) [+]
line wrap: on
line diff
--- a/postagelabels/DEBIAN/debian.changelog	Sun Feb 04 15:48:46 2024 +0100
+++ b/postagelabels/DEBIAN/debian.changelog	Sun Feb 04 18:32:31 2024 +0100
@@ -1,3 +1,9 @@
+postagelabels (0.220120-3) unstable; urgency=low
+
+  * Last release
+
+ -- Przemysław R. Pietraszczyk  Sun, 4 Feb 2022 08:31:41 +0200
+
 postagelabels (0.220120-2~beta) unstable; urgency=low
 
   * Last release
--- a/postagelabels/DEBIAN/postagelabels.dsc	Sun Feb 04 15:48:46 2024 +0100
+++ b/postagelabels/DEBIAN/postagelabels.dsc	Sun Feb 04 18:32:31 2024 +0100
@@ -6,7 +6,7 @@
 Binary: postagelabels
 Architecture: all
 Version: 0.220120-3
-Maintainer: Przemysław R. Pietraszczyk <przem@pietraszczyk.vxm.pl>
+Maintainer: Przemysław R. Pietraszczyk <prymula76@outlook.com>
 Homepage: http://prymula.ct8.pl
 
 DEBTRANSFORM-TAR: postagelabels-0.220120-3.tar.gz
--- a/postagelabels/Makefile.aur	Sun Feb 04 15:48:46 2024 +0100
+++ b/postagelabels/Makefile.aur	Sun Feb 04 18:32:31 2024 +0100
@@ -1,23 +1,14 @@
-prefix=$DESTDIR
+prefix=/usr
 
 install:
-	mkdir -pm 0755 $(prefix)/bin
-	mkdir -pm 0755 $(prefix)/share/postagelabels
-	mkdir -pm 0755 $(prefix)/share/applications
-	install -m 0755 postagelabels.py $(prefix)/bin
-	install -m 0644 png/postagelabels.png $(prefix)/share/postagelabels
-	install -m 0644 png/blank_small.png $(prefix)/share/postagelabels
-	install -m 0644 png/szablon.png $(prefix)/share/postagelabels
-	install -m 0644 postagelabels.desktop $(prefix)/share/applications
+	mkdir -pm 0755 $(DESTDIR)$(prefix)/bin
+	mkdir -pm 0755 $(DESTDIR)$(prefix)/share
+	mkdir -pm 0755 $(DESTDIR)$(prefix)/share/postagelabels
+	mkdir -pm 0755 $(DESTDIR)$(prefix)/share/applications
+	install -m 0755 postagelabels.py $(DESTDIR)$(prefix)/bin
+	install -m 0644 png/postagelabels.png $(DESTDIR)$(prefix)/share/postagelabels
+	install -m 0644 png/blank_small.png $(DESTDIR)$(prefix)/share/postagelabels
+	install -m 0644 png/szablon.png $(DESTDIR)$(prefix)/share/postagelabels
+	install -m 0644 postagelabels.desktop $(DESTDIR)$(prefix)/share/applications
 
 .PHONY: install
-
-uninstall:
-	rm $(prefix)/share/postagelabels/postagelabels.png
-	rm $(prefix)/share/postagelabels/blank_small.png
-	rm $(prefix)/share/postagelabels/szablon.png
-	rmdir $(prefix)/share/postagelabels/
-	rm $(prefix)/bin/postagelabels.py
-	rm $(prefix)/share/applications/postagelabels.desktop
-	
-.PHONY: uninstall
--- a/postagelabels/PKG/PKGBUILD	Sun Feb 04 15:48:46 2024 +0100
+++ b/postagelabels/PKG/PKGBUILD	Sun Feb 04 18:32:31 2024 +0100
@@ -1,24 +1,26 @@
 # Maintainer: Przemyslaw R. Pietraszczyk <prymula76@outlook.com>
+
 pkgname=postagelabels
 pkgver=0.220120
 pkgrel=3
 pkgdesc="Create and arrange mailing labels on canvas"
 arch=('any')
 url="prymula.ct8.pl"
-license=('GPL')
+license=('GPL3')
 groups=()
+provides=('postagelabels')
 depends=('python' 'python-gobject' 'gtk3')
 makedepends=('python' 'python-gobject' 'gtk3')
-source=($pkgname-$pkgver-$pkgrel.tar.gz)
+source=(${pkgname}-${pkgver}-${pkgrel}.tar.gz)
 noextract=()
-sha256sums=('e1a8b9e2e4d4c19613bc013be107488775bce1249c9e9f3b4343f62563e089bc') #generate with 'makepkg -g' || sha256sum
+sha256sums=('9acb0343ff361c129b41b1857fa0b7390ea8e29a50bc112682426e717c946225') #generate with 'makepkg -g' || sha256sum
 
 #build() {
-	#cd "$srcdir/$pkgname-$pkgver-$pkgrel"
+	#cd "$srcdir/${pkgname}-${pkgver}-${pkgrel}"
 	#python -m build --wheel --no-isolation
 #}
 
 package() {
-	cd "$srcdir/$pkgname-$pkgver-$pkgrel"
-	make -f Makefile.aur DESTDIR="$pkgdir/" install
+	cd "$srcdir/${pkgname}-${pkgver}-${pkgrel}"
+	make -f Makefile.aur DESTDIR="${pkgdir}" install
 }