aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2019-03-09 13:48:47 +0100
committerTharre <tharre3@gmail.com>2019-03-09 13:48:47 +0100
commita627d3189fbc3db76cbca6b500e8d4edf66eedf0 (patch)
tree5d382f21aaf50267c5204fdcba4da7ea458e1aa5
parent1f156fbb668449966257d2942fd812258196901e (diff)
downloadpkgbuilds-a627d3189fbc3db76cbca6b500e8d4edf66eedf0.tar.gz
pkgbuilds-a627d3189fbc3db76cbca6b500e8d4edf66eedf0.tar.xz
pkgbuilds-a627d3189fbc3db76cbca6b500e8d4edf66eedf0.zip
Symlink diodmount to mount.diod to enable mount -t
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 50d25d0..138ee40 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = diod
pkgdesc = A multi-threaded, user space file server that speaks 9P2000.L
pkgver = 1.0.24
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/chaos/diod
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 42dc80e..01c2776 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=diod
pkgver=1.0.24
-pkgrel=1
+pkgrel=2
pkgdesc="A multi-threaded, user space file server that speaks 9P2000.L"
url="https://github.com/chaos/diod"
arch=('i686' 'x86_64')
@@ -43,6 +43,8 @@ package() {
cd "${pkgname}-${pkgver}"
make "DESTDIR=$pkgdir" install
+ ln -s diodmount "${pkgdir}/usr/bin/mount.diod"
+
install -Dm644 scripts/diod.service -t "${pkgdir}/usr/lib/systemd/system"
rm -rf "$pkgdir/etc/systemd"
}