Commit 1583d53b7d2c62a0c6bc0c297036c2488ea13085
1 parent
b591d5a2
Exists in
master
and in
1 other branch
Adding archlinux package.
Showing
1 changed file
with
40 additions
and
0 deletions
Show diff stats
| ... | ... | @@ -0,0 +1,40 @@ |
| 1 | +# Maintainer: Perry Werneck <perry.werneck@gmail.com> | |
| 2 | + | |
| 3 | +pkgname=libipc3270 | |
| 4 | + | |
| 5 | +pkgver=5.3 | |
| 6 | +pkgrel=0 | |
| 7 | +pkgdesc="IPC client library for lib3270/pw3270" | |
| 8 | +url="https://github.com/PerryWerneck/libipc3270" | |
| 9 | +arch=(i686 x86_64) | |
| 10 | +license=(GPL) | |
| 11 | +depends=() | |
| 12 | +makedepends=(autoconf automake make openssl lib3270 libv3270 python3 gtk3 libtool dbus-glib) | |
| 13 | +checkdepends=() | |
| 14 | + | |
| 15 | +#groups=(gnome) | |
| 16 | + | |
| 17 | +source=($pkgname-$pkgver.tar.xz) | |
| 18 | +sha256sums=('SKIP') | |
| 19 | + | |
| 20 | +provides=($pkgname) | |
| 21 | +conflicts=($pkgname) | |
| 22 | + | |
| 23 | +prepare() { | |
| 24 | + cd $pkgname-$pkgver | |
| 25 | + mkdir -p scripts | |
| 26 | + touch scripts/config.rpath | |
| 27 | + NOCONFIGURE=1 ./autogen.sh | |
| 28 | + ./configure --prefix=/usr --disable-static | |
| 29 | +} | |
| 30 | + | |
| 31 | +build() { | |
| 32 | + cd $pkgname-$pkgver | |
| 33 | + make all | |
| 34 | +} | |
| 35 | + | |
| 36 | +package() { | |
| 37 | + cd $pkgname-$pkgver | |
| 38 | + DESTDIR="$pkgdir" make install | |
| 39 | +} | |
| 40 | + | ... | ... |