summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD23
1 files changed, 10 insertions, 13 deletions
diff --git a/PKGBUILD b/PKGBUILD
index cdedc51b927c..035fe9b23514 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: jef <jeffreylec@gmail.com>
pkgname=gruvbox-tilix-git
-pkgver=r.96f74f8
+pkgver=r7.8c01335
pkgrel=1
pkgdesc="Gruvbox theme for Tilix"
arch=("any")
@@ -9,13 +9,11 @@ url="https://github.com/MichaelThessel/tilix-gruvbox"
license=("GPL")
depends=("tilix>=1.5")
makedepends=("git")
-provides=("${pkgname%-git}")
-conflicts=("${pkgname%-git}")
source=("${pkgname}::git+https://github.com/MichaelThessel/tilix-gruvbox.git")
md5sums=("SKIP")
pkgver() {
- cd "$srcdir/${pkgname%-git}"
+ cd "${srcdir}/${pkgname}"
( set -o pipefail
git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
@@ -24,12 +22,11 @@ pkgver() {
package() {
cd "${srcdir}/${pkgname}"
- install -dm755 "$pkgdir/usr/share/tilix/schemes"
- install -Dm644 "gruvbox-dark-hard.json" "$pkgdir/usr/share/tilix/schemes"
- install -Dm644 "gruvbox-dark-medium.json" "$pkgdir/usr/share/tilix/schemes"
- install -Dm644 "gruvbox-dark-soft.json" "$pkgdir/usr/share/tilix/schemes"
- install -Dm644 "gruvbox-dark.json" "$pkgdir/usr/share/tilix/schemes"
- install -Dm644 "gruvbox-light-hard.json" "$pkgdir/usr/share/tilix/schemes"
- install -Dm644 "gruvbox-light-medium.json" "$pkgdir/usr/share/tilix/schemes"
- install -Dm644 "gruvbox-light-soft.json" "$pkgdir/usr/share/tilix/schemes"
-} \ No newline at end of file
+ install -D -m 0644 "gruvbox-dark-hard.json" "$HOME/.config/tilix/schemes"
+ install -D -m 0644 "gruvbox-dark-medium.json" "$HOME/.config/tilix/schemes"
+ install -D -m 0644 "gruvbox-dark-soft.json" "$HOME/.config/tilix/schemes"
+ install -D -m 0644 "gruvbox-dark.json" "$HOME/.config/tilix/schemes"
+ install -D -m 0644 "gruvbox-light-hard.json" "$HOME/.config/tilix/schemes"
+ install -D -m 0644 "gruvbox-light-medium.json" "$HOME/.config/tilix/schemes"
+ install -D -m 0644 "gruvbox-light-soft.json" "$HOME/.config/tilix/schemes"
+}