diff options
author | Michael Hauser-Raspe | 2023-01-09 22:16:56 +0000 |
---|---|---|
committer | Michael Hauser-Raspe | 2023-01-09 22:16:56 +0000 |
commit | 724ee3566ab905a1b0a7c510d22e9ff3f8fc2717 (patch) | |
tree | 426abfa23bd9526d959f02f09f15c8baf1e7c5be | |
download | aur-724ee3566ab905a1b0a7c510d22e9ff3f8fc2717.tar.gz |
first commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ef710d75a5b1 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = wofi-symbol-git + pkgdesc = Symbol picker for Wayland using wofi and wtype + pkgver = 0.r26 + pkgrel = 1 + url = https://github.com/mijoharas/wofi-symbol + arch = any + license = MIT + makedepends = git + optdepends = wofi + optdepends = wtype + provides = wofi-symbol + conflicts = wofi-symbol + source = wofi-symbol-git::git+https://github.com/mijoharas/wofi-symbol + sha512sums = SKIP + +pkgname = wofi-symbol-git diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ef5cc5b6a248 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Michael Hauser-Raspe +_pkgname=wofi-symbol +pkgname=${_pkgname}-git +pkgver=0.r26 +pkgrel=1 +pkgdesc="Symbol picker for Wayland using wofi and wtype" +arch=("any") +url="https://github.com/mijoharas/wofi-symbol" +license=("MIT") +optdepends=("wofi" "wtype") # thanks to gilbs https://aur.archlinux.org/account/gilbs +makedepends=("git") +provides=("${_pkgname}") +conflicts=("${_pkgname}") +source=("${pkgname}::git+${url}") +sha512sums=('SKIP') + +pkgver() { + cd "${pkgname}" + echo "0.r$(git rev-list --count HEAD)" +} + +package() { + cd "${pkgname}" + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE" + install -Dm755 ${_pkgname} "${pkgdir}/usr/bin/${_pkgname}" +} |