diff options
author | Kevin Diehl | 2018-02-05 14:51:49 +0100 |
---|---|---|
committer | Kevin Diehl | 2018-02-05 14:51:49 +0100 |
commit | 66d3c2ccdc4f5d89fb80d12a2cc5b860c23fae0a (patch) | |
tree | ce990e5e5057c0c20ad865ba1ac2cbe36fa6f54e | |
parent | e771f4e93c2f030add71cd105d3fb5b67f3028b2 (diff) | |
download | aur-i3lock-fancier-git.tar.gz |
add hint for config file and adds config file to /usr/share/i3lock-fancier
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 6 | ||||
-rw-r--r-- | i3lock-fancier.install | 3 |
4 files changed, 15 insertions, 2 deletions
@@ -1,8 +1,9 @@ pkgbase = i3lock-fancier-git pkgdesc = i3lock fork that adds keyboard layout indicator pkgver = 84aa35006f1cab8eb15f992c1b68dd41cbaab99b - pkgrel = 2 + pkgrel = 3 url = https://github.com/SuperPrower/i3lock-fancier.git + install = i3lock-fancier.install arch = i686 arch = x86_64 license = GPL diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..ec3bb29b3244 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +i3lock-fancier/ +*.tar.xz +pkg/ +src/ + @@ -2,7 +2,7 @@ _pkgname=i3lock-fancier pkgname=$_pkgname-git pkgver=84aa35006f1cab8eb15f992c1b68dd41cbaab99b -pkgrel=2 +pkgrel=3 pkgdesc="i3lock fork that adds keyboard layout indicator" arch=(i686 x86_64) url="https://github.com/SuperPrower/i3lock-fancier.git" @@ -11,6 +11,7 @@ depends=('cairo' 'libev' 'libx11' 'pam' 'xcb-util-image' 'xcb-util-keysyms' 'lib conflicts=('i3lock') provides=('i3lock') makedepends=('make') +install=$_pkgname.install source=('git://github.com/SuperPrower/i3lock-fancier.git') sha256sums=('SKIP') @@ -24,4 +25,7 @@ package() { cd "$srcdir/$_pkgname" make DESTDIR="$pkgdir" install + + install -m 0755 -d "$pkgdir/usr/share/i3lock-fancier" + install -m 0644 "test_config.ini" "$pkgdir/usr/share/i3lock-fancier/default.ini" } diff --git a/i3lock-fancier.install b/i3lock-fancier.install new file mode 100644 index 000000000000..7ecbef639c35 --- /dev/null +++ b/i3lock-fancier.install @@ -0,0 +1,3 @@ +post_install() { + echo "Hint: You can use the example configuration file provided at /usr/share/i3lock-fancier/default.ini at \$HOME/.config/i3lock-fancier/config.ini" +} |