summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Jonczyk2018-07-20 13:10:11 +0200
committerPhilipp Jonczyk2018-07-20 13:10:11 +0200
commit847cd02961b088d04bef87f88bd5e2bd9d350eec (patch)
treec6c368fba1732bf46cbe263241386c17a808b0e6
downloadaur-847cd02961b088d04bef87f88bd5e2bd9d350eec.tar.gz
first version
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD25
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..93403b9f158
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = python-daily-dozen
+ pkgdesc = CLI tool to store your daily dozen of plant based essentials.
+ pkgver = 1.0
+ pkgrel = 1
+ url = https://github.com/randomn4me/daily-dozen-cli/
+ arch = any
+ license = ISC
+ depends = python
+ depends = python-tabulate
+ provides = python-daily-dozen=1.0-1
+ source = https://github.com/randomn4me/daily-dozen-cli/archive/1.0.tar.gz
+ md5sums = 7bd44e942039646b94dedd00e6d1e0c9
+
+pkgname = python-daily-dozen
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e44bae16744
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Philipp Jonczyk <p dot jonczyk at posteo dot de>
+pkgname=python-daily-dozen
+pkgver=1.0
+pkgrel=1
+pkgdesc="CLI tool to store your daily dozen of plant based essentials."
+arch=('any')
+url="https://github.com/randomn4me/daily-dozen-cli/"
+license=('ISC')
+depends=('python'
+ 'python-tabulate')
+source=("daily-dozen.py")
+md5sums=('7bd44e942039646b94dedd00e6d1e0c9')
+provides=("python-daily-dozen=$pkgver-$pkgrel")
+source=("https://github.com/randomn4me/${pkgname#python-}-cli/archive/${pkgver}.tar.gz")
+
+
+package() {
+ cd "${pkgname#python-}-cli-${pkgver}"
+
+ install -Dm755 "${srcdir}/${pkgname#python-}-cli-${pkgver}/daily-dozen.py" \
+ "${pkgdir}/usr/bin/daily-dozen"
+
+ install -Dm644 "${srcdir}/${pkgname#python-}-cli-${pkgver}/LICENSE" \
+ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}