summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-01-11 04:54:13 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-01-11 04:54:13 -0200
commitfcc59bd05df7c63e41d823c0d262d09c267f8ad9 (patch)
tree0953692dbfece19cb0f973cb82c9dbd431769796 /libre
parent75c6aa76e5a459ec815e7ddb65b054b86002e0c6 (diff)
downloadabslibre-fcc59bd05df7c63e41d823c0d262d09c267f8ad9.tar.gz
abslibre-fcc59bd05df7c63e41d823c0d262d09c267f8ad9.tar.bz2
abslibre-fcc59bd05df7c63e41d823c0d262d09c267f8ad9.zip
xscreensaver-libre: add mksource
Diffstat (limited to 'libre')
-rw-r--r--libre/xscreensaver-libre/PKGBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/libre/xscreensaver-libre/PKGBUILD b/libre/xscreensaver-libre/PKGBUILD
index c2eddaafc..1a63f6f79 100644
--- a/libre/xscreensaver-libre/PKGBUILD
+++ b/libre/xscreensaver-libre/PKGBUILD
@@ -17,20 +17,26 @@ replaces=("${_pkgname}")
conflicts=("${_pkgname}")
provides=("${_pkgname}=${pkgver}")
backup=('etc/pam.d/xscreensaver')
-source=(http://www.jwz.org/xscreensaver/${_pkgname}-${pkgver}.tar.gz \
+mksource=(http://www.jwz.org/xscreensaver/${_pkgname}-${pkgver}.tar.gz)
+source=(https://repo.parabolagnulinux.org/sources/${pkgname}-${pkgver}.tar.gz \
xscreensaver-add-electricsheep.diff LICENSE)
-sha1sums=('8055822b661733e68550872a4ae6b6129c0b73fc'
+mksha1sums=('8055822b661733e68550872a4ae6b6129c0b73fc')
+sha1sums=('f041ac860f52fab79c438012ebf58a021ef9bfea'
'e8dc57b6471fb3867ee099304ac6bf628351cb98'
'3eedb8b91b13c29df9b1fe5cbb027e1470b802d2')
-prepare() {
+mksource() {
cd ${_pkgname}-${pkgver}
- patch -p0 -i "${srcdir}/xscreensaver-add-electricsheep.diff"
# Deleting dmsc.asm file due which don't have source code supplied
rm -v hacks/images/m6502/dmsc.asm
}
+prepare() {
+ cd ${_pkgname}-${pkgver}
+ patch -p0 -i "${srcdir}/xscreensaver-add-electricsheep.diff"
+}
+
build() {
cd ${_pkgname}-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \