summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkreon2016-10-08 20:07:30 +0300
committerkreon2016-10-08 20:07:30 +0300
commit6dab9bc231f370e07ea881fed6dd1de0c26faafc (patch)
tree566bcbdb51aea6907f189d1f1265639c082b0342
downloadaur-eggdrop-git.tar.gz
initial commit
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD32
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c9eb2234c00
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+# Generated by mksrcinfo v8
+# Sat Oct 8 17:07:20 UTC 2016
+pkgbase = eggdrop-git
+ pkgdesc = The most famous IRC TCL bot
+ pkgver = v1.8.0rc1
+ pkgrel = 1
+ url = https://github.com/eggheads/eggdrop
+ arch = any
+ license = GPL2
+ makedepends = make
+ makedepends = autoconf
+ makedepends = gcc
+ depends = tcl
+ depends = openssl
+ provides = eggdrop
+ replaces = eggdrop
+ replaces = eggdrop-cvs
+ source = eggdrop-git::git+https://github.com/eggheads/eggdrop.git#branch=release/1.8.0
+ md5sums = SKIP
+
+pkgname = eggdrop-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..aceb3607557
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Ivan Agarkov <ivan.agarkov@gmail.com>
+
+pkgname=eggdrop-git
+pkgver=v1.8.0rc1
+pkgrel=1
+pkgdesc="The most famous IRC TCL bot"
+arch=('any')
+license=('GPL2')
+url="https://github.com/eggheads/eggdrop"
+depends=('tcl' 'openssl')
+makedepends=('make' 'autoconf' 'gcc')
+provides=('eggdrop')
+replaces=('eggdrop' 'eggdrop-cvs')
+source=("eggdrop-git"::"git+https://github.com/eggheads/eggdrop.git#branch=release/1.8.0")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$pkgname"
+ git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+ cd "$srcdir/$pkgname"
+ ./configure "--prefix=/opt/eggdrop"
+ make config
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}"
+ make install DEST="${pkgdir}/opt/eggdrop"
+}