summaryrefslogtreecommitdiff
path: root/libre/xscreensaver
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2019-03-09 13:14:50 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2019-03-09 13:14:50 -0500
commitdb2c8445ea4183205922049a45439ec40c4c531a (patch)
tree120c7bcf3d80e6f89b49aad527b7bc2bb862ebad /libre/xscreensaver
parentffceebd881569f339a80bb4d282672cde0cd715a (diff)
downloadabslibre-db2c8445ea4183205922049a45439ec40c4c531a.tar.gz
abslibre-db2c8445ea4183205922049a45439ec40c4c531a.tar.bz2
abslibre-db2c8445ea4183205922049a45439ec40c4c531a.zip
xscreensaver-5.42-1.par1: updating version
Diffstat (limited to 'libre/xscreensaver')
-rw-r--r--libre/xscreensaver/PKGBUILD50
1 files changed, 34 insertions, 16 deletions
diff --git a/libre/xscreensaver/PKGBUILD b/libre/xscreensaver/PKGBUILD
index 1caacfb0a..0dbe21bb1 100644
--- a/libre/xscreensaver/PKGBUILD
+++ b/libre/xscreensaver/PKGBUILD
@@ -1,5 +1,5 @@
-# $Id$
-# Maintainer (Arch): Eric Bélanger <eric@archlinux.org>
+# Maintainer (Arch): Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor (Arch): Eric Bélanger <eric@archlinux.org>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
# Contributor: André Silva <emulatorman@hyperbola.info>
@@ -8,22 +8,25 @@
pkgname=xscreensaver
_pkgname=$pkgname-libre
-pkgver=5.40
-pkgrel=1.parabola1
-pkgdesc="Screen saver and locker for the X Window System, without nonfree asm files"
-arch=('x86_64' 'i686' 'armv7h')
-url="http://www.jwz.org/xscreensaver/"
+pkgver=5.42
+pkgrel=1
+pkgrel+=.par1
+pkgdesc="Screen saver and locker for the X Window System"
+pkgdesc+=", without nonfree asm files"
+url='https://www.jwz.org/xscreensaver/'
+arch=('x86_64')
+arch+=('i686' 'armv7h')
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')
-mksource=(http://www.jwz.org/xscreensaver/${pkgname}-${pkgver}.tar.gz)
+mksource=(https://www.jwz.org/xscreensaver/${pkgname}-${pkgver}.tar.gz)
source=(https://repo.parabola.nu/other/${_pkgname}/${_pkgname}-${pkgver}.tar.gz
LICENSE)
-mksha256sums=('30a0908d4164cf780ef034f87ba884316296b308af2484261ccde86be0c95ae0')
-sha256sums=('823e34a303a807d3e08ce1de9b7bf0291f6a327bf254627aea86488c9682876e'
- 'c0247a0328f07656f6b7a5854f57fe735579f161b6f40df967cf9a5eab772d63')
+mksha512sums=('84cde9364c933de720acd51a0bf75eb4d0642d60f62b92de89d932233eb5abb51e1edb53cd413b2dc4801a02cb68652a28d7d1f83cdaa8d8cdd1fee7d651eefd')
+sha512sums=('297c37b1b8735d7d23d30d360754a84978b17cba8b554b7e2187a89ff70688784f1d3c0f4fb57b849d2ebf0ec04fad3dddb0602181e1ffbccf260d65435a6b25'
+ '863c699479b2ec2775a0d1cba22e615929194a14af164b3513e46a0c04229da6547255a4da8f7f1bbb40906898c124ed3c9ec2436b76b62affcb62385af9783e')
mksource() {
cd ${pkgname}-${pkgver}
@@ -31,12 +34,27 @@ mksource() {
rm -v hacks/images/m6502/dmsc.asm
}
+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
}
@@ -44,7 +62,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"
}