parent
0ce6080df9
commit
30434ce8dc
2 changed files with 27 additions and 0 deletions
15
srcpkgs/ptii/patches/fix-installpaths.patch
Normal file
15
srcpkgs/ptii/patches/fix-installpaths.patch
Normal file
|
@ -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}
|
12
srcpkgs/ptii/template
Normal file
12
srcpkgs/ptii/template
Normal file
|
@ -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 <diogo@diogoleal.com>"
|
||||
license="WTFPL"
|
||||
homepage="http://git.z3bra.org/cgit.cgi/ptii/"
|
||||
distfiles="http://repo.voidlinux.de/distfiles/ptii-${version}/ptii-${version}.tar.bz2"
|
||||
checksum=2f130417251938c9947293f4df07b6db37909e03d4f600e0af025d1ae6a02d26
|
Loading…
Reference in a new issue