summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Moynihan2019-07-11 17:32:00 +0100
committerEric Moynihan2019-07-11 17:32:00 +0100
commit9b80b884f1f5a4e0cb1f283ae90ded6f87f76ce8 (patch)
tree1ebdc2509b258f30c5b6a5e3056a75f8f9a764ce
downloadaur-9b80b884f1f5a4e0cb1f283ae90ded6f87f76ce8.tar.gz
Initial release
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD26
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1750478e64b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = yup
+ pkgdesc = Arch Linux AUR Helper with ncurses functionality and better searching and sorting
+ pkgver = 0.1.0_beta
+ pkgrel = 1
+ url = https://github.com/ericm/yup
+ arch = any
+ license = MIT
+ makedepends = go>=1.12
+ depends = pacman
+ depends = git
+ depends = stty
+ depends = ncurses
+ source = yup::git+https://github.com/ericm/yup.git#tag=v0.1.0-beta
+ sha256sums = SKIP
+
+pkgname = yup
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d2c4a1bdd3e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+pkgname=yup
+_pkgname=yup
+pkgver="0.1.0_beta"
+_pkgver="0.1.0-beta"
+pkgrel=1
+pkgdesc="Arch Linux AUR Helper with ncurses functionality and better searching and sorting"
+arch=('any')
+url="https://github.com/ericm/yup"
+license=('MIT')
+source=("${_pkgname}::git+https://github.com/ericm/yup.git#tag=v${_pkgver}")
+sha256sums=('SKIP')
+
+depends=('pacman>=5.1' 'git' 'ncurses' 'sudo')
+makedepends=("go>=1.12")
+
+prepare() {
+ cd "${_pkgname}"
+ make
+}
+
+package() {
+ install -dm755 ${pkgdir}/usr/local/bin/${BINAME}
+ cd "${_pkgname}"
+ cp ${_pkgname} ${pkgdir}/usr/local/bin/${BINAME}
+
+}