blob: 6f52536d43b9dbaf8fc36ec5ecac8fb1df2c1201 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
pkgname=betterautolock
pkgver=0.1
pkgrel=1
pkgdesc="betterlockscreen administration and suspend service"
arch=('any')
license=('gpl')
depends=('feh' 'betterlockscreen')
replaces=('xlock')
package() {
mkdir -p $pkgdir/etc/systemd/system
mkdir -p $pkgdir/usr/bin
tmp=$(mktemp)
cat $srcdir/../screenlock.service.in | sed "s/%USER%/$USER"/g > $tmp
install -m755 $tmp $pkgdir/etc/systemd/system/betterautolock.service
install -m755 $srcdir/../xlock $pkgdir/usr/bin/xlock
install -m755 $srcdir/../fehbg $pkgdir/usr/bin/fehbg
install -m755 $srcdir/../update_lock_wallpaper $pkgdir/usr/bin
}
|