diff options
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f2e7fa96b654 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = noted-cli-git + pkgdesc = Noted is a cli note taking and todo app similar to google keep or any other note taking service. It is a fork of my previous project keep-cli. Notes appear as cards. You can make lists and write random ideas. + pkgver = 0.1.4 + pkgrel = 1 + url = https://github.com/zack-ashen/noted + arch = x86_64 + arch = i686 + license = MIT + makedepends = python-setuptools + makedepends = git + depends = python + provides = noted-cli-git + conflicts = noted-cli-git + source = git+https://github.com/zack-ashen/noted + md5sums = SKIP + +pkgname = noted-cli-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..28fa4be03846 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Zachary Ashen <zachary.h.a@gmail.com> +pkgname=noted-cli-git +pkgver=0.1.4 +pkgrel=1 +pkgdesc="Noted is a cli note taking and todo app similar to google keep or any other note taking service. It is a fork of my previous project keep-cli. Notes appear as cards. You can make lists and write random ideas." +arch=(x86_64 i686) +url="https://github.com/zack-ashen/noted" +license=('MIT') +depends=(python) +makedepends=(python-setuptools git) +provides=(noted-cli-git) +conflicts=(noted-cli-git) +source=(git+$url) +md5sums=('SKIP') + +_pkgname=noted + +pkgver() { + cd "${_pkgname}" + printf "0.1.4.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "${_pkgname}" + python setup.py build +} + +package() { + cd "${_pkgname}" + msg "Running setup.py" + python setup.py install --root=${pkgdir} --optimize=1 --skip-build +} |