summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD25
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3487334dee0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = python-signal-daemon
+ pkgdesc = A daemon to process input of signal-cli using the system dbus
+ pkgver = 1.0
+ pkgrel = 1
+ url = https://github.com/randomn4me/python-signal-daemon/
+ arch = any
+ license = ISC
+ depends = python
+ depends = signal-cli
+ depends = python-pydbus
+ provides = python-signal-daemon=1.0-1
+ source = https://github.com/randomn4me/signal-daemon/archive/1.0.tar.gz
+ md5sums = f8315834d00678a0ed44ab0387b1264a
+
+pkgname = python-signal-daemon
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..58d34d75537
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Philipp Jonczyk <p dot jonczyk at posteo dot de>
+pkgname=python-signal-daemon
+pkgver=1.0
+pkgrel=1
+pkgdesc="A daemon to process input of signal-cli using the system dbus"
+arch=('any')
+url="https://github.com/randomn4me/python-signal-daemon/"
+license=('ISC')
+depends=('python'
+ 'signal-cli'
+ 'python-pydbus')
+source=("signal-daemon.py")
+provides=("python-signal-daemon=$pkgver-$pkgrel")
+md5sums=('f8315834d00678a0ed44ab0387b1264a')
+source=("https://github.com/randomn4me/${pkgname#python-}/archive/${pkgver}.tar.gz")
+
+package() {
+ cd "${pkgname#python-}-${pkgver}"
+
+ install -Dm755 "${srcdir}/${pkgname#python-}-${pkgver}/signal-daemon.py" \
+ "${pkgdir}/usr/bin/signal-daemon"
+
+ install -Dm755 "${srcdir}/${pkgname#python-}-${pkgver}/LICENSE" \
+ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}