Commit 035458fdc340f3d3e5261ce42f249038b5c87f34
1 parent
3b3214d3
Exists in
master
and in
1 other branch
Adding build file for archlinux.
Showing
1 changed file
with
38 additions
and
0 deletions
Show diff stats
| @@ -0,0 +1,38 @@ | @@ -0,0 +1,38 @@ | ||
| 1 | +# Maintainer: Perry Werneck <perry.werneck@gmail.com> | ||
| 2 | + | ||
| 3 | +pkgname=libv3270 | ||
| 4 | + | ||
| 5 | +pkgver=5.2 | ||
| 6 | +pkgrel=1 | ||
| 7 | +pkgdesc="3270 Virtual Terminal for GTK" | ||
| 8 | +url="https://portal.softwarepublico.gov.br/social/pw3270/" | ||
| 9 | +arch=(i686 x86_64) | ||
| 10 | +license=(GPL) | ||
| 11 | +depends=() | ||
| 12 | +makedepends=(autoconf automake make openssl lib3270 gtk3 python3) | ||
| 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 | + NOCONFIGURE=1 ./autogen.sh | ||
| 26 | + ./configure --prefix=/usr | ||
| 27 | +} | ||
| 28 | + | ||
| 29 | +build() { | ||
| 30 | + cd $pkgname-$pkgver | ||
| 31 | + make all | ||
| 32 | +} | ||
| 33 | + | ||
| 34 | +package() { | ||
| 35 | + cd $pkgname-$pkgver | ||
| 36 | + DESTDIR="$pkgdir" make install | ||
| 37 | +} | ||
| 38 | + |