diff options
author | Jor Bashllari | 2018-05-26 18:03:20 +0200 |
---|---|---|
committer | Jor Bashllari | 2018-05-26 18:03:20 +0200 |
commit | 15ad8a9612a950fb44eb241871e8a97701cc003b (patch) | |
tree | 9be4219cc6ba4b9363add710209907380565e905 /PKGBUILD | |
download | aur-15ad8a9612a950fb44eb241871e8a97701cc003b.tar.gz |
complete PKGBUILD
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b89fa308e198 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Jor Bashllari <altnate2000@gmail.com> +pkgname=fmui-git +_pkgname=fmui +pkgver=r9.78596be +pkgrel=1 +arch=( 'x86_64' 'i686' 'armv7h' 'aarch64' ) +url="https://github.com/seebye/fmui" +license=( 'GPL3' ) +provides=($_pkgname) +conflicts=($_pkgname) +depends=( 'toilet' 'fzf' 'mpc' 'bash' 'mpd' ) +optdepends=( 'cava' 'vis' ) +source=("$pkgname::git+https://github.com/seebye/$_pkgname.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" + mkdir -p "${pkgdir}/usr/lib/$_pkgname" + install -D -m755 ./actions.sh "${pkgdir}/usr/lib/$_pkgname" + install -D -m755 ./info.sh "${pkgdir}/usr/lib/$_pkgname" + install -D -m755 ./keys.sh "${pkgdir}/usr/lib/$_pkgname" + install -D -m755 ./fmui "${pkgdir}/usr/lib/$_pkgname" + ln -s "${pkgdir}/usr/lib/$_pkgname/fmui" "${pkgdir}/usr/bin/fmui" +} |