summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ebc37d82ddb
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 105042 2014-01-30 17:11:55Z flexiondotorg $
+# Maintainer: Martin Wimpress <code@flexion.org>
+
+pkgname=mate-screensaver-hacks
+pkgver=5.26
+pkgrel=1
+pkgdesc="Enable screensavers from xscreensaver for MATE."
+arch=('any')
+url="http://www.jwz.org/xscreensaver/"
+license=('BSD')
+depends=('xscreensaver')
+makedepends=('libxslt')
+source=(migrate-xscreensaver-config.sh
+ xscreensaver-config.xsl
+ LICENSE)
+sha1sums=('19195ef59f0dbc61c6ed599a968213a8f0a7a5d4'
+ '68e8ec7a4f7077f7f870b904f370329f5e95bce0'
+ '4209ea586b204fd1d81c382a0522c654f9fd9134')
+
+package() {
+ mkdir -p "${pkgdir}/usr/share/applications/screensavers/"
+ cd "${pkgdir}/usr/share/applications/screensavers/"
+ sh "$srcdir/migrate-xscreensaver-config.sh" /usr/share/xscreensaver/config/*.xml
+ rm ${pkgdir}/usr/share/applications/screensavers/popsquares.desktop
+ install -D -m644 ${srcdir}/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}