summaryrefslogtreecommitdiff
path: root/pcr/xwinwrap
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/xwinwrap')
-rw-r--r--pcr/xwinwrap/PKGBUILD5
-rw-r--r--pcr/xwinwrap/PKGBUILD.sigbin543 -> 543 bytes
2 files changed, 3 insertions, 2 deletions
diff --git a/pcr/xwinwrap/PKGBUILD b/pcr/xwinwrap/PKGBUILD
index 782212a1a..ce0a3de41 100644
--- a/pcr/xwinwrap/PKGBUILD
+++ b/pcr/xwinwrap/PKGBUILD
@@ -32,6 +32,7 @@ whirlpoolsums=('4b86c028b960d59f1c97545173fe51bb6d159cbeb0bd141a99c9debaa64f056a
prepare(){
sed -i "s/-lX11/-mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -lX11/" Makefile ## Stronger compilation security
+head -n43 xwinwrap.c >> LICENSE
}
build() {
@@ -45,8 +46,8 @@ build() {
package() {
cd ${srcdir}
if [ "$CARCH" == "i686" ]; then
- install -D -m0755 ${srcdir}/i386/xwinwrap ${pkgdir}/usr/bin/xwinwrap || return 1
+ install -D -m0755 ${srcdir}/i386/xwinwrap ${pkgdir}/usr/bin/xwinwrap && install -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" || return 1
else
- install -D -m0755 ${srcdir}/x86_64/xwinwrap ${pkgdir}/usr/bin/xwinwrap || return 1
+ install -D -m0755 ${srcdir}/x86_64/xwinwrap ${pkgdir}/usr/bin/xwinwrap && install -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" || return 1
fi
}
diff --git a/pcr/xwinwrap/PKGBUILD.sig b/pcr/xwinwrap/PKGBUILD.sig
index 27075f280..8837e64a7 100644
--- a/pcr/xwinwrap/PKGBUILD.sig
+++ b/pcr/xwinwrap/PKGBUILD.sig
Binary files differ