diff --git a/srcpkgs/ptii/patches/fix-installpaths.patch b/srcpkgs/ptii/patches/fix-installpaths.patch new file mode 100644 index 00000000000..c3ee97e7499 --- /dev/null +++ b/srcpkgs/ptii/patches/fix-installpaths.patch @@ -0,0 +1,15 @@ +Adjust install paths and add LICENSE to installed files. + +--- Makefile 2014-02-10 10:36:26.000000000 +0100 ++++ Makefile 2015-10-23 20:24:01.308136083 +0200 +@@ -26,7 +26,8 @@ + + install: all + install -D -m755 ptii $(DESTDIR)$(PREFIX)/bin/ptii +- install -D -m644 README $(DESTDIR)$(PREFIX)/share/doc/README ++ install -D -m644 README $(DESTDIR)$(PREFIX)/share/doc/ptii/README ++ install -D -m644 LICENSE $(DESTDIR)$(PREFIX)/share/licenses/ptii/LICENSE + + uninstall: +- rm $(DESTDIR)$(PREFIX)/{bin/ptii,/share/doc/README} ++ rm $(DESTDIR)$(PREFIX)/{bin/ptii,/share/doc/ptii/README,/share/licenses/ptii/LICENSE} diff --git a/srcpkgs/ptii/template b/srcpkgs/ptii/template new file mode 100644 index 00000000000..17b3fc63736 --- /dev/null +++ b/srcpkgs/ptii/template @@ -0,0 +1,12 @@ +# Template file for 'ptii' +pkgname=ptii +version=0.4 +revision=1 +build_style=gnu-makefile +makedepends="inotify-tools-devel" +short_desc="A simple program you can use with ii" +maintainer="Diogo Leal " +license="WTFPL" +homepage="http://git.z3bra.org/cgit.cgi/ptii/" +distfiles="http://repo.voidlinux.de/distfiles/ptii-${version}/ptii-${version}.tar.bz2" +checksum=2f130417251938c9947293f4df07b6db37909e03d4f600e0af025d1ae6a02d26