summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorWorMzy Tykashi2017-12-29 01:06:36 +0000
committerWorMzy Tykashi2017-12-29 01:06:36 +0000
commit2e9980580af26cd8027ba2c525cb61630914c517 (patch)
treefe565648fa147420c76ea61b976c9623eeb1983e /PKGBUILD
parent7a8d00934b0be391bd5ff862099566083a64d28c (diff)
downloadaur-2e9980580af26cd8027ba2c525cb61630914c517.tar.gz
Updated url, use https, style changes
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD32
1 files changed, 16 insertions, 16 deletions
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: