diff options
author | Dylan Araps | 2017-04-22 09:07:42 +1000 |
---|---|---|
committer | Dylan Araps | 2017-04-22 09:07:42 +1000 |
commit | afe5dff17312ac3c2572780d4bc446d108b5c5a5 (patch) | |
tree | 8d144f3d85d0d8e730eb144ad3758f6dec8623d3 /PKGBUILD | |
download | aur-wal-git.tar.gz |
Add wal-git to the aur
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a421ef9901b0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Dylan Araps <dyl@tfwno.gf> +pkgname=wal-git +_pkgname=wal +pkgver=r194.7e9917a +pkgrel=1 +pkgdesc="Generate and change colorschemes on the fly." +arch=('any') +url="https://github.com/dylanaraps/wal" +license=('MIT') +provides=($_pkgname) +conflicts=($_pkgname) +depends=( + 'bash' + 'imagemagick' +) +optdepends=( + 'bgs: Set wallpaper.' + 'feh: Set wallpaper.' + 'habak: Set wallpaper.' + 'hsetroot: Set wallpaper.' + 'nitrogen: Set wallpaper.' + 'xorg-xprop: Used to detect which DE Wallpaper setter to use.' +) +makedepends=('git') +source=("$pkgname::git+https://github.com/dylanaraps/wal.git") +md5sums=('SKIP') + +pkgver() { + cd "$pkgname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "$pkgname" + mkdir -p "${pkgdir}/usr/bin" + install -D -m755 ./wal "${pkgdir}/usr/bin/$_pkgname" +} |