[arch-commits] Commit in xscreensaver/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Sun Feb 10 16:55:17 UTC 2019
Date: Sunday, February 10, 2019 @ 16:55:16
Author: anthraxx
Revision: 345846
upgpkg: xscreensaver 5.42-1
Modified:
xscreensaver/trunk/PKGBUILD
----------+
PKGBUILD | 44 +++++++++++++++++++++++++++++++-------------
1 file changed, 31 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-02-10 16:34:03 UTC (rev 345845)
+++ PKGBUILD 2019-02-10 16:55:16 UTC (rev 345846)
@@ -1,27 +1,43 @@
-# Maintainer: Eric Bélanger <eric at archlinux.org>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Eric Bélanger <eric at archlinux.org>
pkgname=xscreensaver
-pkgver=5.40
+pkgver=5.42
pkgrel=1
-pkgdesc="Screen saver and locker for the X Window System"
+pkgdesc='Screen saver and locker for the X Window System'
+url='https://www.jwz.org/xscreensaver/'
arch=('x86_64')
-url="http://www.jwz.org/xscreensaver/"
license=('BSD')
depends=('libglade' 'libxmu' 'glu' 'xorg-appres' 'perl-libwww')
makedepends=('bc' 'intltool' 'libxpm' 'gdm')
optdepends=('gdm: for login manager support')
backup=('etc/pam.d/xscreensaver')
-source=(http://www.jwz.org/xscreensaver/${pkgname}-${pkgver}.tar.gz
- LICENSE)
-sha1sums=('82c7433fe008e6ea9ab8683cf3325a673b8a8233'
- '3eedb8b91b13c29df9b1fe5cbb027e1470b802d2')
+source=(https://www.jwz.org/xscreensaver/${pkgname}-${pkgver}.tar.gz
+ LICENSE)
+sha512sums=('84cde9364c933de720acd51a0bf75eb4d0642d60f62b92de89d932233eb5abb51e1edb53cd413b2dc4801a02cb68652a28d7d1f83cdaa8d8cdd1fee7d651eefd'
+ '863c699479b2ec2775a0d1cba22e615929194a14af164b3513e46a0c04229da6547255a4da8f7f1bbb40906898c124ed3c9ec2436b76b62affcb62385af9783e')
+prepare() {
+ cd ${pkgname}-${pkgver}
+ sed 's|-std=c89||' -i configure.in
+ autoreconf -fiv
+}
+
build() {
cd ${pkgname}-${pkgver}
- ./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
}
@@ -29,7 +45,9 @@
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"
}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list