summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoryar2017-01-30 18:36:14 -0800
committeryar2017-01-30 18:36:14 -0800
commit421053331810c4402b2284485ad3fa7b7bd90a1a (patch)
tree1e77b3b7deef1c87f1ff3dd447f11c8edb7c4b27
downloadaur-421053331810c4402b2284485ad3fa7b7bd90a1a.tar.gz
new PKGBUILD
-rw-r--r--.SRCINFO29
-rw-r--r--.gitignore3
-rw-r--r--PKGBUILD40
3 files changed, 72 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..56799207fc3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,29 @@
+# Generated by mksrcinfo v8
+# Tue Jan 31 02:17:45 UTC 2017
+pkgbase = alpine-git
+ pkgdesc = Fork of the PINE mail client (git)
+ pkgver = 2.20.999.202.6278103
+ pkgrel = 1
+ url = http://patches.freeiz.com/alpine/
+ arch = i686
+ arch = x86_64
+ license = APACHE
+ makedepends = git
+ depends = gettext
+ depends = krb5
+ depends = libldap
+ depends = pam
+ provides = alpine
+ provides = pine
+ provides = re-alpine
+ conflicts = alpine
+ conflicts = pine
+ conflicts = re-alpine
+ replaces = alpine
+ replaces = pine
+ replaces = re-alpine
+ source = git+http://repo.or.cz/alpine.git
+ sha512sums = SKIP
+
+pkgname = alpine-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..81a955d2919
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+alpine/
+alpine-git-*.log
+alpine-git-*.pkg.tar.xz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5e6135e9beb
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Yardena Cohen <yardenack at gmail dot com>
+
+gitname=alpine
+pkgname=$gitname-git
+pkgver=2.20.999.202.6278103
+pkgrel=1
+pkgdesc="Fork of the PINE mail client (git)"
+arch=('i686' 'x86_64')
+url='http://patches.freeiz.com/alpine/'
+license=('APACHE')
+depends=(
+ 'gettext'
+ 'krb5'
+ 'libldap'
+ 'pam'
+)
+makedepends=('git')
+provides=('alpine' 'pine' 're-alpine')
+conflicts=('alpine' 'pine' 're-alpine')
+replaces=('alpine' 'pine' 're-alpine')
+source=("git+http://repo.or.cz/${gitname}.git")
+sha512sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/${gitname}"
+ local ver="$(cat VERSION).$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+ printf "%s" "${ver//-/.}"
+}
+build() {
+ cd "${srcdir}/${gitname}"
+ LIBS+="-lpam -lkrb5 -lcrypto" ./configure --prefix=/usr \
+ --without-passfile --without-tcl --disable-shared \
+ --with-system-pinerc=/etc/${pkgname}.d/pine.conf \
+ --with-system-fixed-pinerc=/etc/${pkgname}.d/pine.conf.fixed
+ make
+}
+package() {
+ cd "${srcdir}/${gitname}"
+ make DESTDIR="${pkgdir}" install
+}