diff options
author | graysky | 2019-02-10 16:43:01 -0500 |
---|---|---|
committer | graysky | 2019-02-10 16:43:01 -0500 |
commit | 58dc49c2f32124200cc081d776af6710a6075357 (patch) | |
tree | 2f7f49a6d3b9c8347223052e5c573ef30a699b96 /PKGBUILD | |
parent | efce33231339f77fc9cb1de916c4fcca84cde226 (diff) | |
download | aur-58dc49c2f32124200cc081d776af6710a6075357.tar.gz |
Update to 5.42-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 23 insertions, 8 deletions
@@ -1,13 +1,14 @@ # Maintainer: graysky <graysky AT archlinux DOT us> +# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org> # Contributor: Thomas Mudrunka <harvie@@email..cz> # Contributer: Eric Belanger <eric@archlinux.org> pkgname=xscreensaver-arch-logo -pkgver=5.40 +pkgver=5.42 pkgrel=1 pkgdesc="Screen saver and locker for the X Window System with Arch Linux branding" -arch=('x86_64') url="http://www.jwz.org/xscreensaver/" +arch=('x86_64') license=('BSD') depends=('libglade' 'libxmu' 'glu' 'xorg-appres' 'perl-libwww') makedepends=('bc' 'intltool' 'libxpm' 'gdm') @@ -17,20 +18,34 @@ provides=('xscreensaver') backup=('etc/pam.d/xscreensaver') source=(http://www.jwz.org/xscreensaver/${pkgname%%-*}-${pkgver}.tar.gz LICENSE logo-50.xpm logo-180.xpm logo-50.png logo-180.png) -sha1sums=('82c7433fe008e6ea9ab8683cf3325a673b8a8233' +sha1sums=('b8eb08e258a70924aa0e644e4930164baf505ee6' '3eedb8b91b13c29df9b1fe5cbb027e1470b802d2' '5ff6dfd0a14ca484d4287647c3e00af8e417163c' '63ed187b08864993684f826dc87b1c5f42ea5bf4' '203ca4f21e0d42263fc0ebb796eaf968c457d93a' '619cff60b77812545493dbedb0ba247a37f381e5') +prepare() { + cd "${pkgname%%-*}-${pkgver}" + sed 's|-std=c89||' -i configure.in + autoreconf -fiv +} build() { cd "${pkgname%%-*}-${pkgver}" install -Dm644 "$srcdir"/logo-180.xpm "${srcdir}"/${pkgname%%-*}-${pkgver}/utils/images/logo-180.xpm - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - --libexecdir=/usr/lib --with-x-app-defaults=/usr/share/X11/app-defaults \ - --with-pam --with-login-manager --with-gtk --with-gl \ - --without-gle --with-pixbuf --with-jpeg + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --libexecdir=/usr/lib \ + --with-x-app-defaults=/usr/share/X11/app-defaults \ + --with-pam \ + --with-login-manager \ + --with-gtk \ + --with-gl \ + --without-gle \ + --with-pixbuf \ + --with-jpeg make } @@ -38,7 +53,7 @@ package() { cd "${pkgname%%-*}-${pkgver}" install -d "${pkgdir}/etc/pam.d" make install_prefix="${pkgdir}" install - install -D -m644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname%%-*}/LICENSE" + install -Dm 644 ../LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname%%-*}" chmod 755 "${pkgdir}/usr/bin/xscreensaver" echo "NotShowIn=KDE;GNOME;" >> "${pkgdir}/usr/share/applications/xscreensaver-properties.desktop" } |