summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD32
2 files changed, 19 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5675ef94bfd..18862d60952 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@ pkgbase = slimlock
pkgdesc = Unholy screen locker (without SLiM)
pkgver = 1.3.6
pkgrel = 1
- url = http://slim.berlios.de/
+ url = https://github.com/iwamatsu/slim
install = slimlock.install
arch = i686
arch = x86_64
@@ -17,10 +17,10 @@ pkgbase = slimlock
conflicts = slimlock-git
conflicts = slim>=1.3.6
backup = etc/slimlock.conf
- source = http://downloads.sourceforge.net/project/slim.berlios/slim-1.3.6.tar.gz
+ source = slim-1.3.6.tar.gz::https://github.com/iwamatsu/slim/archive/v1.3.6.tar.gz
source = slimlock.install
source = slim.conf
- source = http://downloads.sourceforge.net/project/slim.berlios/slim-archlinux-simple.tar.gz
+ source = https://downloads.sourceforge.net/project/slim.berlios/slim-archlinux-simple.tar.gz
source = slim-1.3.6-fix-libslim-libraries.patch
sha1sums = 9407ea2ee7b2ed649f17a8ddbf1f7b26a7c7b9fb
sha1sums = 16c89da06114d71df10ef63aa50745a73ec1852c
diff --git a/PKGBUILD b/PKGBUILD
index 8ecf5d06488..115dda4cdd2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,17 +8,17 @@ pkgver=1.3.6
pkgrel=1
pkgdesc="Unholy screen locker (without SLiM)"
arch=('i686' 'x86_64')
-url="http://slim.berlios.de/"
+url="https://github.com/iwamatsu/slim"
license=('GPL2')
depends=('libxft' 'pam' 'libxrandr' 'libpng' 'libjpeg')
makedepends=('cmake' 'libxmu')
conflicts=('slimlock-git' 'slim>=1.3.6')
backup=('etc/slimlock.conf')
install='slimlock.install'
-source=('http://downloads.sourceforge.net/project/slim.berlios/slim-1.3.6.tar.gz'
+source=(${_basename}-${pkgver}.tar.gz::"${url}/archive/v1.3.6.tar.gz"
'slimlock.install'
'slim.conf'
- 'http://downloads.sourceforge.net/project/slim.berlios/slim-archlinux-simple.tar.gz'
+ 'https://downloads.sourceforge.net/project/slim.berlios/slim-archlinux-simple.tar.gz'
'slim-1.3.6-fix-libslim-libraries.patch')
sha1sums=('9407ea2ee7b2ed649f17a8ddbf1f7b26a7c7b9fb'
'16c89da06114d71df10ef63aa50745a73ec1852c'
@@ -27,12 +27,12 @@ sha1sums=('9407ea2ee7b2ed649f17a8ddbf1f7b26a7c7b9fb'
'bc77f03262d0bf423210aaf418d2452324b732ec')
prepare() {
- cd "$_basename-$pkgver"
- patch -Np1 -i "$srcdir/slim-1.3.6-fix-libslim-libraries.patch"
+ cd ${_basename}-${pkgver}
+ patch -Np1 -i "${srcdir}/slim-1.3.6-fix-libslim-libraries.patch"
}
build() {
- cd "$_basename-$pkgver"
+ cd ${_basename}-${pkgver}
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_SKIP_RPATH=ON \
-DUSE_PAM=yes \
@@ -42,23 +42,23 @@ build() {
}
package() {
- cd "$_basename-$pkgver"
- install -Dm755 slimlock "$pkgdir/usr/bin/slimlock"
- install -Dm644 slimlock.conf "$pkgdir/etc/slimlock.conf"
- install -Dm644 slimlock.1 "$pkgdir/usr/share/man/man1/slimlock.1"
+ cd ${_basename}-${pkgver}
+ install -Dm755 slimlock "${pkgdir}/usr/bin/slimlock"
+ install -Dm644 slimlock.conf "${pkgdir}/etc/slimlock.conf"
+ install -Dm644 slimlock.1 "${pkgdir}/usr/share/man/man1/slimlock.1"
- install -D -m644 "$srcdir/slim.conf" "$pkgdir/usr/share/slimlock/example-slim.conf"
+ install -D -m644 "${srcdir}/slim.conf" "${pkgdir}/usr/share/slimlock/example-slim.conf"
- cd "$srcdir/slim-archlinux-simple"
+ cd "${srcdir}/slim-archlinux-simple"
install -D -m644 slim.theme \
- "$pkgdir/usr/share/slim/themes/slim-archlinux-default/slim.theme"
+ "${pkgdir}/usr/share/slim/themes/slim-archlinux-default/slim.theme"
install -D -m644 background.png \
- "$pkgdir/usr/share/slim/themes/slim-archlinux-default/background.png"
+ "${pkgdir}/usr/share/slim/themes/slim-archlinux-default/background.png"
install -D -m644 panel.png \
- "$pkgdir/usr/share/slim/themes/slim-archlinux-default/panel.png"
+ "${pkgdir}/usr/share/slim/themes/slim-archlinux-default/panel.png"
install -D -m644 preview.png \
- "$pkgdir/usr/share/slim/themes/slim-archlinux-default/preview.png"
+ "${pkgdir}/usr/share/slim/themes/slim-archlinux-default/preview.png"
}
# vim:set ts=2 sw=2 et: