summaryrefslogtreecommitdiff
path: root/libre/xscreensaver-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/xscreensaver-libre/PKGBUILD')
-rw-r--r--libre/xscreensaver-libre/PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/libre/xscreensaver-libre/PKGBUILD b/libre/xscreensaver-libre/PKGBUILD
index 0d5bc34ff..f42a24fc4 100644
--- a/libre/xscreensaver-libre/PKGBUILD
+++ b/libre/xscreensaver-libre/PKGBUILD
@@ -6,7 +6,7 @@ _pkgname=xcreensaver
pkgname=xscreensaver-libre
pkgver=5.15
pkgrel=3
-pkgdesc="Screen saver and locker for the X Window System"
+pkgdesc="Screen saver and locker for the X Window System (without non-free asm files)"
arch=('i686' 'x86_64')
url="http://www.jwz.org/xscreensaver/"
license=('BSD')
@@ -18,7 +18,7 @@ replaces=("${_pkgname}")
conflicts=("${_pkgname}")
provides=("${_pkgname}=${pkgver}")
backup=('etc/pam.d/xscreensaver')
-source=(http://www.jwz.org/xscreensaver/${pkgname}-${pkgver}.tar.gz \
+source=(http://www.jwz.org/xscreensaver/${_pkgname}-${pkgver}.tar.gz \
add-electricsheep.diff xscreensaver.pam LICENSE libre.patch)
sha1sums=('b5ce7caa19f4d57c3bac83377a36dddbe7095052'
'677496218b81a42d90bee400026e94dd87fb8ffb'
@@ -27,7 +27,7 @@ sha1sums=('b5ce7caa19f4d57c3bac83377a36dddbe7095052'
'327b839eb5d069827c1f25ef19fc8d4e83de7ab2')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${_pkgname}-${pkgver}"
patch -p0 -i "${srcdir}/add-electricsheep.diff"
patch -p0 -i "${srcdir}/libre.patch" # deleting non-free dmsc.asm file due that not have source code supplied
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
@@ -38,9 +38,9 @@ build() {
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${_pkgname}-${pkgver}"
make install_prefix="${pkgdir}" install
- install -D -m644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -D -m644 ../LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
install -D -m644 ../xscreensaver.pam "${pkgdir}/etc/pam.d/xscreensaver"
chmod 755 "${pkgdir}/usr/bin/xscreensaver"
echo "NotShowIn=KDE;GNOME;" >> "${pkgdir}/usr/share/applications/xscreensaver-properties.desktop"