summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJC Francois2018-01-21 14:58:15 +0100
committerJC Francois2018-01-21 14:58:15 +0100
commit298123ef022b8d2eedc16918a010758896252fcd (patch)
treeafeaa2919941defe03a44eaa07acc59864a235e6
downloadaur-298123ef022b8d2eedc16918a010758896252fcd.tar.gz
Initial release
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD28
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c4214e884ed
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = etcetera
+ pkgdesc = Simple command line tool to keep track of changes to config files of a linux system
+ pkgver = 0.4
+ pkgrel = 1
+ url = https://github.com/jeancf/etcetera
+ arch = x86_64
+ license = GPL3
+ depends = python
+ backup = etc/etcetera.conf
+ source = https://github.com/jeancf/etcetera/archive/v0.4.tar.gz
+ md5sums = f06d390f34b767b44663a1f8c18f0a14
+
+pkgname = etcetera
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7d395ec26ce
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: JC Francois <jc.francois@gmail.com>
+pkgname=etcetera
+pkgver=0.4
+pkgrel=1
+pkgdesc="Simple command line tool to keep track of changes to config files of a linux system"
+arch=("x86_64")
+url="https://github.com/jeancf/etcetera"
+license=("GPL3")
+depends=("python")
+optdepends=()
+backup=("etc/etcetera.conf")
+options=()
+source=("https://github.com/jeancf/etcetera/archive/v${pkgver}.tar.gz")
+md5sums=('f06d390f34b767b44663a1f8c18f0a14')
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ install -Dm755 etcetera ${pkgdir}/usr/bin/etcetera
+ install -Dm644 commands.py ${pkgdir}/usr/lib/etcetera/commands.py
+ install -Dm644 toolbox.py ${pkgdir}/usr/lib/etcetera/toolbox.py
+ install -Dm644 README.md ${pkgdir}/usr/share/etcetera/README.md
+ install -Dm644 etcetera-logo.png ${pkgdir}/usr/share/etcetera/etcetera-logo.png
+ install -Dm644 etcetera.conf ${pkgdir}/etc/etcetera.conf
+ install -Dm644 LICENSE ${pkgdir}/usr/share/LICENSES/etcetera/LICENSE
+
+ cd ${pkgdir}
+ python -m compileall .
+}