diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -4,22 +4,22 @@ pkgname=petool-git _pkgname=petool pkgver=2024.03.14.r7.g869d58e -pkgrel=1 -pkgdesc="Tool to help rebuild, extend and patch 32-bit Windows applications." -arch=('any') +pkgrel=2 +pkgdesc='Tool to help rebuild, extend and patch 32-bit Windows applications.' +arch=('i686' 'x86_64') license=('MIT') url="https://github.com/FunkyFr3sh/petool" -depends=() +depends=('lib32-glibc') makedepends=('gcc' 'gcc-libs' 'git' 'make') provides=('petool') conflicts=('petool') options=('!buildflags') -source=("$_pkgname::git+${url}#branch=${BRANCH:-master}") +source=("${_pkgname}::git+${url}#branch=${BRANCH:-master}") sha512sums=('SKIP') pkgver() { - cd "$srcdir/$_pkgname" + cd "${srcdir}/${_pkgname}" git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//' } @@ -30,7 +30,8 @@ build() { package() { cd "${srcdir}/${_pkgname}" - install -Dm 755 petool "${pkgdir}/usr/bin/petool" + install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm 755 petool "${pkgdir}/usr/bin/petool" } # vim:set ft=sh syn=sh ts=4 sw=4 et: |