summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoraksr2015-12-25 19:58:32 +0100
committeraksr2015-12-25 19:58:32 +0100
commitf7619cdba543ebf6a9c5ee4dbbfb9fb03c04221b (patch)
tree277fe2cd9f6817557acdef8c689d7723b1ceec08
downloadaur-f7619cdba543ebf6a9c5ee4dbbfb9fb03c04221b.tar.gz
Start.
-rw-r--r--.SRCINFO25
-rw-r--r--PKGBUILD51
2 files changed, 76 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3e6d88ad9e4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+# Generated by mksrcinfo v8
+# Fri Dec 25 18:58:31 UTC 2015
+pkgbase = slrn-git
+ pkgdesc = An open source text-based news client.
+ pkgver = 1.0.1.r36.g4861cf1
+ pkgrel = 1
+ url = http://www.slrn.org/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ makedepends = uudeview
+ depends = openssl
+ depends = slang
+ optdepends = metamail
+ provides = slrn
+ conflicts = slrn
+ options = !makeflags
+ options = docs
+ options = zipman
+ source = slrn-git::git+git://git.jedsoft.org/git/slrn.git
+ md5sums = SKIP
+
+pkgname = slrn-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..463d0e6b4b2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,51 @@
+# Maintainer: aksr <aksr at t-com dot me>
+pkgname=slrn-git
+pkgver=1.0.1.r36.g4861cf1
+pkgrel=1
+epoch=
+pkgdesc="An open source text-based news client."
+arch=('i686' 'x86_64')
+url="http://www.slrn.org/"
+license=('GPL')
+groups=()
+depends=('openssl' 'slang')
+makedepends=('git' 'uudeview')
+optdepends=('metamail')
+checkdepends=()
+provides=('slrn')
+conflicts=('slrn')
+replaces=()
+backup=()
+options=('!makeflags' 'docs' 'zipman')
+changelog=
+install=
+source=("$pkgname::git+git://git.jedsoft.org/git/slrn.git")
+noextract=()
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$pkgname"
+ git describe --tags | sed -E 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
+}
+
+build() {
+ cd "$srcdir/$pkgname"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --enable-setgid-code \
+ --with-slrnpull \
+ --with-ssl \
+ --with-uu \
+ --with-uulib=/usr/lib/uudeview \
+ --with-uuinc=/usr/include/uudeview \
+ --enable-spoilers
+ make UUDEVIEW_LIB="/usr/lib/uudeview/*.o"
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ make DESTDIR="$pkgdir/" install
+ install -D -m644 doc/slrn.rc $pkgdir/etc/slrnrc
+
+}
+