Mercurial > hg > pub > prymula > scripts
changeset 7:d202f30cd362
verysimpleslideshow-0.230913-0_ALLDISTRIBUTION
author | prymula <prymula76@outlook.com> |
---|---|
date | Sat, 03 Feb 2024 19:06:00 +0100 |
parents | 709bdcd2937b |
children | 17820dc7c088 |
files | verysimpleslideshow/DEBIAN/debian.rules verysimpleslideshow/Makefile.aur verysimpleslideshow/PKG/PKGBUILD |
diffstat | 3 files changed, 9 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/verysimpleslideshow/DEBIAN/debian.rules Thu Feb 01 21:45:12 2024 +0100 +++ b/verysimpleslideshow/DEBIAN/debian.rules Sat Feb 03 19:06:00 2024 +0100 @@ -18,5 +18,6 @@ mkdir -pm 0755 debian/verysimpleslideshow/usr/share/verysimpleslideshow cp verysimpleslideshow.py debian/verysimpleslideshow/usr/bin/ cp CzytajTo debian/verysimpleslideshow/usr/share/verysimpleslideshow/ + #chmod 0755 /usr/bin/verysimpleslideshow.py dh_gencontrol dh_builddeb
--- a/verysimpleslideshow/Makefile.aur Thu Feb 01 21:45:12 2024 +0100 +++ b/verysimpleslideshow/Makefile.aur Sat Feb 03 19:06:00 2024 +0100 @@ -1,15 +1,15 @@ -prefix=$DESTDIR all: install: - mkdir -pm 0755 $(prefix)/usr/bin - install -m 0755 verysimpleslideshow.py $(prefix)/usr/bin - ln -s $(prefix)/usr/bin/verysimpleslideshow.py $(prefix)usr//bin/vsss + mkdir -pm 0755 $(DESTDIR)/usr/bin + install -m 0755 verysimpleslideshow.py $(DESTDIR)/usr/bin + #ln -s $(DESTDIR)/usr/bin/verysimpleslideshow.py $(DESTDIR)usr//bin/vsss uninstall: - rm $(prefix)/usr/bin/vsss - rm $(prefix)/usr/bin/verysimpleslideshow.py + rm $(DESTDIR)/usr/bin/vsss + rm $(DESTDIR)/usr/bin/verysimpleslideshow.py +#.PHONY: all install .PHONY: all install uninstall
--- a/verysimpleslideshow/PKG/PKGBUILD Thu Feb 01 21:45:12 2024 +0100 +++ b/verysimpleslideshow/PKG/PKGBUILD Sat Feb 03 19:06:00 2024 +0100 @@ -11,7 +11,7 @@ makedepends=('python' 'python-pillow') source=($pkgname-$pkgver-$pkgrel.tar.gz) noextract=() -sha256sums=('4862cf7fc1189a4ddd2bdb77c808e4f84ef2e28e7a15f297d0b4824bebfdfd45') #generate with 'makepkg -g' || sha256sum +sha256sums=('4aa5f76018fea26bba676619b2d2a126b65f7a2a9745eb421b1cf6c793c5fa12') #generate with 'makepkg -g' || sha256sum #build() { #cd "$srcdir/$pkgname-$pkgver-$pkgrel" @@ -20,5 +20,5 @@ package() { cd "$srcdir/$pkgname-$pkgver-$pkgrel" - make -f Makefile.aur DESTDIR="$pkgdir/" install + make -f Makefile.aur DESTDIR="${pkgdir}" install }