diff options
author | Matt Mathis | 2019-08-17 21:18:38 -0400 |
---|---|---|
committer | Matt Mathis | 2019-08-17 21:18:38 -0400 |
commit | fbf3a91448e2a570f8a21821beaaa2216f0fc4fe (patch) | |
tree | 9400bcde81cdf83779dd25a7e5e6d2dde961d246 | |
download | aur-fbf3a91448e2a570f8a21821beaaa2216f0fc4fe.tar.gz |
created PKGBUILD ready for use
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..28d4b0cc3e94 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = wofi-hg + pkgdesc = Rofi-like wlroots launcher + pkgver = r98.63ee1eed0bfc + pkgrel = 1 + url = https://hg.sr.ht/~scoopta/wofi + arch = x86_64 + license = GPL3 + makedepends = mercurial + depends = wayland + depends = gtk3 + source = wofi-hg::hg+https://hg.sr.ht/~scoopta/wofi + sha256sums = SKIP + +pkgname = wofi-hg + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..089bcd4f6d69 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +pkgname=wofi-hg +pkgver=r0.212598d693a9 +pkgrel=1 +pkgdesc="Rofi-like wlroots launcher" +arch=('x86_64') +url="https://hg.sr.ht/~scoopta/wofi" +license=('GPL3') +depends=('wayland' 'gtk3') +makedepends=('mercurial') +source=("${pkgname}::hg+$url") +sha256sums=('SKIP') +pkgver() { + cd "$pkgname" + printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)" +} +build() { + cd "${pkgname}/Release" + make +} +package() { + mkdir -p "$pkgdir/usr/bin" + cp ${pkgname}/Release/wofi "$pkgdir/usr/bin/" +}
\ No newline at end of file |