summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsorz2017-01-11 06:08:02 +0800
committersorz2017-01-11 06:08:02 +0800
commit7a94127227a36fc5c6d21e2983b4e45b930d13d6 (patch)
tree980a0e4cfb4432f07779606a04695162b4e0c98f
downloadaur-7a94127227a36fc5c6d21e2983b4e45b930d13d6.tar.gz
Initial upload: minissdpd 1.5-1
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD27
-rw-r--r--minissdpd@.service12
3 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..39456989044
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = minissdpd
+ pkgdesc = MiniSSDPd - daemon keeping track of UPnP devices up
+ pkgver = 1.5
+ pkgrel = 1
+ url = http://miniupnp.free.fr/minissdpd.html
+ arch = x86_64
+ arch = i686
+ license = BSD
+ source = http://miniupnp.free.fr/files/download.php?file=minissdpd-1.5.tar.gz
+ source = minissdpd@.service
+ sha256sums = dfd637b185731e1acb412a86faa9718eb93c04ca08280541a6d22d14d1fb890f
+ sha256sums = 47a6eadc93cb759ea4030f50776bd5e71c701c38f4346df53c299a4ff51edd76
+
+pkgname = minissdpd
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c6006a018a8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Shell Chen <aur@sorz.org>
+pkgname=minissdpd
+pkgver=1.5
+pkgrel=1
+pkgdesc="MiniSSDPd - daemon keeping track of UPnP devices up"
+arch=('x86_64' 'i686')
+url="http://miniupnp.free.fr/minissdpd.html"
+license=('BSD')
+
+source=("http://miniupnp.free.fr/files/download.php?file=$pkgname-$pkgver.tar.gz"
+ 'minissdpd@.service')
+
+sha256sums=('dfd637b185731e1acb412a86faa9718eb93c04ca08280541a6d22d14d1fb890f'
+ '47a6eadc93cb759ea4030f50776bd5e71c701c38f4346df53c299a4ff51edd76'
+)
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ PREFIX="$pkgdir" make SBININSTALLDIR="$pkgdir/usr/bin" install
+ rm -r "$pkgdir/etc/init.d"
+ install -Dm644 "$srcdir/minissdpd@.service" "$pkgdir/usr/lib/systemd/system/minissdpd@.service"
+}
diff --git a/minissdpd@.service b/minissdpd@.service
new file mode 100644
index 00000000000..4a6bf8b0e4a
--- /dev/null
+++ b/minissdpd@.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=MiniSSDPd - daemon keeping track of UPnP devices up
+Documentation=man:minissdpd(8)
+After=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/minissdpd.pid
+ExecStart=/usr/bin/minissdpd -s /var/run/minissdpd.sock -i %i
+
+[Install]
+WantedBy=network.target