diff options
author | Peter Fern | 2024-03-10 08:37:59 +1100 |
---|---|---|
committer | Peter Fern | 2024-03-10 08:50:23 +1100 |
commit | f1dc6b1baa63bfc609b80234a26827340e1aec5a (patch) | |
tree | 8704ff6cb4a3ae17cb82d40e5ac38f3e5aeb21ed | |
download | aur-f1dc6b1baa63bfc609b80234a26827340e1aec5a.tar.gz |
Release 0.1.2-1
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 32 |
3 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..4ccf7058662b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = hyprpanel + pkgdesc = An opinionated panel/shell for the Hyprland compositor. + pkgver = 0.1.2 + pkgrel = 1 + url = https://github.com/pdf/hyprpanel + arch = x86_64 + arch = aarch64 + license = MIT + makedepends = git + makedepends = go + depends = gtk4 + depends = gtk4-layer-shell + depends = hyprland + optdepends = systemd: logging support + optdepends = pulse-native-provider: volume control support + optdepends = upower: battery status support + options = !strip + source = https://github.com/pdf/hyprpanel/archive/v0.1.2/hyprpanel-0.1.2.tar.gz + sha256sums = 43b88a20a25acd5d2a2fa8eab50d158ff849c977a4cfe548008db65324d86922 + +pkgname = hyprpanel diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..f71c635dafda --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!PKGBUILD +!.SRCINFO diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d03f398c83b3 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Peter Fern <aur at 0xc0dedbad dot com> + +pkgname=hyprpanel +pkgver=0.1.2 +pkgrel=1 +pkgdesc="An opinionated panel/shell for the Hyprland compositor." +arch=('x86_64' 'aarch64') +url="https://github.com/pdf/hyprpanel" +license=('MIT') +options=('!strip') +depends=('gtk4' 'gtk4-layer-shell' 'hyprland') +optdepends=('systemd: logging support' + 'pulse-native-provider: volume control support' + 'upower: battery status support') +makedepends=('git' 'go') +source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz") + +build() { + export CGO_ENABLED=0 + cd "${pkgname}-${pkgver}" + go build -o "${pkgname}" "./cmd/${pkgname}" + go build -o "${pkgname}-client" "./cmd/${pkgname}-client" +} + +package() { + install -Dm644 "${pkgname}-${pkgver}/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm755 "${pkgname}-${pkgver}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}" + install -Dm755 "${pkgname}-${pkgver}/${pkgname}-client" "${pkgdir}/usr/bin/${pkgname}-client" +} + +# vim:set ts=2 sw=2 et: +sha256sums=('43b88a20a25acd5d2a2fa8eab50d158ff849c977a4cfe548008db65324d86922') |