summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJonas Große Sundrup2015-06-22 04:21:00 +0200
committerJonas Große Sundrup2015-06-22 04:21:00 +0200
commita8b692cbcd6049e92ad76751348dc90ab7feb25e (patch)
tree13f8b1844ee0de1dfc502bc4b9b9692f62a20214 /PKGBUILD
downloadaur-robustirc-bridge-git.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..60c112bf7f6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: cherti <aur@letopolis.de>
+
+pkgname=robustirc-bridge-git
+_pkgname=robustirc-bridge
+pkgver=20150317
+pkgrel=1
+pkgdesc='Bridge to robustirc.net-IRC-Network, latest version from git'
+arch=(i686 x86_64)
+url='https://github.com/robustirc/bridge'
+license=('BSD-3-clause')
+depends=('go')
+conflicts=('robustirc-bridge')
+
+
+build() {
+
+ GOPATH="$srcdir" go get github.com/robustirc/bridge/robustirc-bridge
+
+}
+
+package() {
+ mkdir -p "$pkgdir/usr/bin"
+ install -p -m755 "$srcdir/bin/"* "$pkgdir/usr/bin"
+
+ mkdir -p "$pkgdir/usr/lib/systemd/system"
+ install -p -m755 "$srcdir/src/github.com/robustirc/bridge/robustirc-bridge.service" "$pkgdir/usr/lib/systemd/system"
+
+
+ mkdir -p "$pkgdir/usr/share/licenses/$_pkgname"
+ install -Dm644 "$srcdir/src/github.com/robustirc/bridge/LICENSE" "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
+
+ mkdir -p "$pkgdir/usr/share/man/man1"
+ install -Dm644 "$srcdir/src/github.com/robustirc/bridge/robustirc-bridge.1" "$pkgdir/usr/share/man/man1"
+}