blob: b7bc840f9dfb6eba639a8adad0ba612318e152f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
pkgname=mingw-w64-ldd
pkgver=1
pkgrel=1
arch=('any')
pkgdesc="Tool to list dependencies of a DLL"
depends=('python-pefile')
license=("WTFPL")
url="https://github.com/xantares/mingw-ldd"
source=('https://github.com/xantares/mingw-ldd/raw/master/mingw-ldd.py')
sha256sums=('SKIP')
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
package() {
install -d "${pkgdir}"/usr/bin
install -d "${pkgdir}"/usr/share/mingw
install -m 755 mingw-ldd.py "${pkgdir}"/usr/share/mingw/
for _arch in ${_architectures}; do
cd "${pkgdir}"/usr/bin
ln -s ../share/mingw/mingw-ldd.py ${_arch}-ldd
done
}
|