summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMuflone2016-07-10 17:14:11 +0200
committerMuflone2016-07-10 17:14:11 +0200
commit95d4127c35d2724dbb7a7cdb677ed9f2f9319ebe (patch)
tree55a1a060a56e0b868130008c3950f82ced73ea2f /PKGBUILD
parente9f4b95206fd1735c7d7b9a6fa18f2c99a827d71 (diff)
downloadaur-tn5250.tar.gz
Updated package tn5250 0.17.4-7
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD23
1 files changed, 15 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9482bb8eccf..e71b8a04620 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,24 +1,31 @@
-# Maintainer: Muflone <webreg@vbsimple.net>
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
# Contributor: yannsen <ynnsen@gmail.com>
pkgname=tn5250
pkgver=0.17.4
-pkgrel=6
+pkgrel=7
pkgdesc='A 5250 terminal emulator for IBM iSeries and AS400'
arch=('i686' 'x86_64')
url="http://tn5250.sourceforge.net/"
-license=('LGPL 2.1')
-depends=(openssl)
-source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
-md5sums=('d1eb7c5a2e15cd2f43a1c115e2734153')
+license=('LGPL2.1')
+depends=('openssl')
+source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
+ "patch-lib5250_sslstream_c.patch"::"http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/net/tn5250/patches/patch-lib5250_sslstream_c")
+sha256sums=('354237d400dc46af887cb3ffa4ed1f2c371f5b8bee8be046a683a4ac9db4f9c5'
+ '87bdd8f6a53442d3c2c7a80385725b63106a96d622d52643cc3cdc2282e1e8f6')
+
+prepare() {
+ cd "${pkgname}-${pkgver}"
+ patch -p0 -i "${srcdir}/patch-lib5250_sslstream_c.patch"
+}
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${pkgname}-${pkgver}"
./configure --prefix=/usr
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}