Commit d8c6fb1128e9c64a112c5584146a4aac8ff3c387
1 parent
0d334dae
Exists in
master
and in
3 other branches
Updating MSYS2 package.
Showing
1 changed file
with
8 additions
and
5 deletions
Show diff stats
win/PKGBUILD
1 | 1 | # Maintainer: Perry Werneck <perry.werneck@gmail.com> |
2 | 2 | |
3 | -pkgname=lib3270 | |
3 | +pkgname=${MINGW_PACKAGE_PREFIX}-lib3270 | |
4 | 4 | |
5 | 5 | pkgver=5.2 |
6 | 6 | pkgrel=1 |
... | ... | @@ -14,26 +14,29 @@ checkdepends=() |
14 | 14 | |
15 | 15 | #groups=(gnome) |
16 | 16 | |
17 | -source=($pkgname-$pkgver.tar.xz) | |
17 | +source=(lib3270-$pkgver.tar.xz) | |
18 | 18 | sha256sums=('SKIP') |
19 | 19 | |
20 | 20 | provides=($pkgname) |
21 | 21 | conflicts=($pkgname) |
22 | 22 | |
23 | 23 | prepare() { |
24 | - cd $pkgname-$pkgver | |
24 | + cd lib3270-$pkgver | |
25 | 25 | NOCONFIGURE=1 ./autogen.sh |
26 | 26 | ./configure --prefix=$MINGW_PREFIX |
27 | 27 | } |
28 | 28 | |
29 | 29 | build() { |
30 | - cd $pkgname-$pkgver | |
30 | + cd lib3270-$pkgver | |
31 | 31 | make all |
32 | 32 | } |
33 | 33 | |
34 | 34 | package() { |
35 | - cd $pkgname-$pkgver | |
35 | + cd lib3270-$pkgver | |
36 | 36 | DESTDIR="$pkgdir" make install-dev |
37 | 37 | install .bin/Release/*.dll $MINGW_PREFIX/bin |
38 | + | |
39 | + dlltool.exe -D .bin/Release/lib3270.dll -l $MINGW_PREFIX/lib/lib3270_dll.a | |
40 | + | |
38 | 41 | } |
39 | 42 | ... | ... |