diff options
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/xwinwrap/PKGBUILD | 39 | ||||
-rw-r--r-- | pcr/xwinwrap/PKGBUILD.sig | bin | 543 -> 0 bytes |
2 files changed, 16 insertions, 23 deletions
diff --git a/pcr/xwinwrap/PKGBUILD b/pcr/xwinwrap/PKGBUILD index 9c38e6396..5fa2c0636 100644 --- a/pcr/xwinwrap/PKGBUILD +++ b/pcr/xwinwrap/PKGBUILD @@ -1,34 +1,29 @@ -# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697 -# Contributor (Arch): chrisl echo archlinux@c2h0r1i2s4t5o6p7h8e9r-l3u4n1a.com|sed 's/[0-9]//g' -# Contributor (Arch): Dany Martineau <dany.luc.martineau gmail.com> -# Contributor (Arch): Stefan Clarke <fm0nk3y@yahoo.co.uk> +# Maintainer (AUR): chrisl echo archlinux@c2h0r1i2s4t5o6p7h8e9r-l3u4n1a.com|sed 's/[0-9]//g' +# Maintainer (AUR): Dany Martineau <dany.luc.martineau gmail.com> +# Contributor (AUR): Stefan Clarke <fm0nk3y@yahoo.co.uk> +# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697 pkgname=xwinwrap pkgver=20090215 -pkgrel=1 +pkgrel=2 pkgdesc="Shantanu Goel's patched xwinwrap. Xwinwrap is a utility, originally written by David Reveman/Novell, that will embed movies or screensavers as wallpaper. It is under a custom but permissive license." -[ "$CARCH" = "i686" ] && ARCH=x86 +[ "$CARCH" = "i686" ] && ARCH=i386 [ "$CARCH" = "x86_64" ] && ARCH=x86_64 arch=(i686 x86_64) -url="http://tech.shantanugoel.com/projects/linux/shantz-xwinwrap" +url="https://shantanugoel.com/2008/09/03/shantz-xwinwrap/" license=('custom') -depends=('libxext' 'libxrender') +depends=(libxext libxrender) provides=('xwinwrap') conflicts=('xwinwrap') makedepends=('make') -validpgpkeys=('CB6E213A349B8DF9E96B622AC3F4FFCF3EAE8697') # PKGBUILD Maintainer's key source=('https://bazaar.launchpad.net/~shantanu-goel/xwinwrap/devel/download/shantanu.goel%40gmail.com-20081018102932-9a50c8t7sa40ihkx/makefile-20080824172326-ckr2ck4kremspqqc-1/Makefile' -'https://bazaar.launchpad.net/~shantanu-goel/xwinwrap/devel/download/shantanu.goel%40gmail.com-20090215112845-2e2mb6202tzwa4vb/xwinwrap.c-20080824172326-ckr2ck4kremspqqc-2/xwinwrap.c' -'PKGBUILD' -'PKGBUILD.sig') -sha512sums=('4465aa846bf7cda3826e2d01a1c768de9099cbefbfa0fa891c46b056e369362b9e372546ed5b535fa89e6fdae6eb903f10750c4535408794be269eb7db40aae0' - 'e9d9a7489e11d5c6eee86970df4b5d6ee2cb87b512dc80bce2edcc429757371562495de3a98f0cd16a9cba8423e0c37efad9b925f94e12bf287cf6f94d49ee1c' - 'SKIP' - 'SKIP') + 'https://bazaar.launchpad.net/~shantanu-goel/xwinwrap/devel/download/shantanu.goel%40gmail.com-20090215112845-2e2mb6202tzwa4vb/xwinwrap.c-20080824172326-ckr2ck4kremspqqc-2/xwinwrap.c') +sha256sums=('3ff1e3627e17de1b520ce90b7c07c7c3b74d45e3a4eebbe78f37c426585e1585' + '5614d40d80d5f0f2a67590b143adaf1e081d2e4ed722affd2b869e44fcaf9721') 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 + cd ${srcdir} + sed -i "s/-lX11/$CPPFLAGS $CFLAGS -lX11/" Makefile } build() { @@ -41,9 +36,7 @@ build() { } package() { cd ${srcdir} - if [ "$CARCH" == "i686" ]; then - 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 && install -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" || return 1 - fi + install -D -m0755 ${srcdir}/$ARCH/xwinwrap ${pkgdir}/usr/bin/xwinwrap + head -n43 xwinwrap.c >> LICENSE + install -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } diff --git a/pcr/xwinwrap/PKGBUILD.sig b/pcr/xwinwrap/PKGBUILD.sig Binary files differdeleted file mode 100644 index 8837e64a7..000000000 --- a/pcr/xwinwrap/PKGBUILD.sig +++ /dev/null |