diff options
author | Patrick Rogers | 2024-01-25 22:11:02 -0700 |
---|---|---|
committer | Patrick Rogers | 2024-01-25 22:11:02 -0700 |
commit | 5cf26c21a8d6cc3e69df6a51e9e8300a0cdcf793 (patch) | |
tree | f9f9ed75b75d95d3fb1d07830b902d3660d2d6a6 | |
download | aur-tschuss-git.tar.gz |
Initialize Repository
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | PKGBUILD | 42 | ||||
-rw-r--r-- | tschuss-git.install | 4 |
3 files changed, 69 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..067b046f1480 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = tschuss-git + pkgdesc = Simple and fast highly customizable dropdown power menu + pkgver = r48.6ee14d8 + pkgrel = 1 + url = https://github.com/Lucad44/tschuss + install = tschuss-git.install + arch = x86_64 + license = MIT + makedepends = git + makedepends = meson + makedepends = ninja + depends = gtk3 + depends = libconfig + depends = glib2 + depends = gdk-pixbuf2 + depends = glibc + optdepends = gtk-layer-shell + provides = tschuss + conflicts = tschuss + source = git+https://github.com/Lucad44/tschuss.git + md5sums = SKIP + +pkgname = tschuss-git diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..09876f4ad54d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Patrick Rogers <patrick@thewebzone.net> +pkgname=tschuss-git +_pkgname=tschuss +pkgver=r48.6ee14d8 +pkgrel=1 +pkgdesc="Simple and fast highly customizable dropdown power menu" +arch=('x86_64') +url="https://github.com/Lucad44/tschuss" +license=('MIT') +depends=('gtk3' 'libconfig' 'glib2' 'gdk-pixbuf2' 'glibc') +makedepends=('git' 'meson' 'ninja') +optdepends=('gtk-layer-shell') +install=$pkgname.install +provides=("tschuss") +conflicts=("tschuss") +source=('git+https://github.com/Lucad44/tschuss.git') +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/${_pkgname}" + # Git, no tags available + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "$srcdir/${_pkgname}" + meson setup build + meson compile -C build +} + +package() { + cd "$srcdir/${_pkgname}" + install -Dm755 build/tschuss "$pkgdir/usr/bin/tschuss" + install -Dm644 style.css "$pkgdir/etc/tschuss/style.css" + # Replace .. in config file before installing + sed -i 's|\.\.|/usr/share/tschuss|g' tschuss.conf + install -Dm644 tschuss.conf "$pkgdir/etc/tschuss/tschuss.conf" + # Create folder for default icons + install -d "$pkgdir/usr/share/tschuss/icons/" + install -Dm644 icons/* "$pkgdir/usr/share/tschuss/icons/" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE" +} diff --git a/tschuss-git.install b/tschuss-git.install new file mode 100644 index 000000000000..fd52a68f1756 --- /dev/null +++ b/tschuss-git.install @@ -0,0 +1,4 @@ +post_install() { + echo "A default configuration and CSS file is placed in /etc/tschuss/." + echo "Copy these into ~/.config/tschuss to get tschuss starting." +} |