diff options
author | atemu | 2019-07-21 20:17:08 +0200 |
---|---|---|
committer | atemu | 2019-07-21 20:17:08 +0200 |
commit | 57d65fb9429fc8d23581dcdb2c042b697486e9ba (patch) | |
tree | bbd7acee932a917496649f8ed79c132f8696e554 | |
download | aur-57d65fb9429fc8d23581dcdb2c042b697486e9ba.tar.gz |
Added VCS-ified PKGBUILD based on the original yup AUR package
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d6fe4da78d85 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = yup-git + pkgdesc = Arch Linux AUR Helper with ncurses functionality and better searching and sorting + pkgver = v0.1.7.beta.r2.gb3d3888 + pkgrel = 1 + url = https://github.com/ericm/yup + arch = any + license = GPL3 + makedepends = go>=1.12 + makedepends = make + depends = pacman>=5.1 + depends = git + depends = ncurses + depends = sudo + provides = yup + conflicts = yup + source = yup::git+https://github.com/ericm/yup.git + sha256sums = SKIP + +pkgname = yup-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3c065dd5b7a6 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +pkgname=yup-git +_pkgname=yup +pkgver=v0.1.7.beta.r2.gb3d3888 +pkgrel=1 +pkgdesc="Arch Linux AUR Helper with ncurses functionality and better searching and sorting" +arch=('any') +url="https://github.com/ericm/yup" +license=('GPL3') +source=("${_pkgname}::git+https://github.com/ericm/yup.git") +sha256sums=('SKIP') + +depends=('pacman>=5.1' 'git' 'ncurses' 'sudo') +makedepends=('go>=1.12' 'make') +provides=("$_pkgname") +conflicts=("$_pkgname") + +pkgver() { + cd "$_pkgname" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +prepare() { + cd "${_pkgname}" + make +} + +package() { + install -dm755 ${pkgdir}/usr/local/bin/${BINAME} + cd "${_pkgname}" + cp ${_pkgname} ${pkgdir}/usr/local/bin/${BINAME} + +} |