summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaming4JC <g4jc@openmailbox.org>2015-08-01 21:10:12 -0400
committerGaming4JC <g4jc@openmailbox.org>2015-08-01 21:10:12 -0400
commit0f4ad68dd632a97fdcd916759b73be18d4352245 (patch)
tree0e5dc8399a127dcee318affb674afeba784d7ccf
parent39646acf7a503a183adbbccc1f8541c4a93184c0 (diff)
downloadabslibre-0f4ad68dd632a97fdcd916759b73be18d4352245.tar.gz
abslibre-0f4ad68dd632a97fdcd916759b73be18d4352245.tar.bz2
abslibre-0f4ad68dd632a97fdcd916759b73be18d4352245.zip
add LICENSE file to PKGBUILD in 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