Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (23 sloc) 743 Bytes
# Maintainer: ArchStrike <team@archstrike.org>
buildarch=1
_pkgname=macholib
pkgname=("python-${_pkgname}")
pkgver=1.14
pkgrel=1
pkgdesc="Mach-O header analysis and editing"
url="https://github.com/ronaldoussoren/macholib"
depends=('python' 'python-altgraph')
makedepends=('python-setuptools')
license=('MIT')
arch=('any')
source=("${url}/archive/v${pkgver}.tar.gz")
sha512sums=('c3174abfbc503a5b1047a7012744a47cf2b387d90051638d7a6ab78b339b118420b2beeea37f3d959bdcd51dfc39c22e17cbf9145e1d4d66b666635c8c810a54')
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
python setup.py build
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
install -dm755 "${pkgdir}/usr/bin"
python3 setup.py install --root="${pkgdir}" -O1 --skip-build
}
You can’t perform that action at this time.