mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
29 lines
761 B
Bash
29 lines
761 B
Bash
# Apps Packages for Chakra, part of www.chakra-project.org
|
|
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
|
|
# Contributor: Rémy Oudompheng <remy@archlinux.org>
|
|
|
|
pkgname=pyalpm
|
|
pkgver=0.7
|
|
pkgrel=1
|
|
pkgdesc="Libalpm bindings for Python 3"
|
|
arch=('x86_64')
|
|
url="http://projects.archlinux.org/users/remy/pyalpm.git/"
|
|
license=('GPL')
|
|
depends=('python3>=3.4' 'pacman>=4.2')
|
|
source=("https://sources.archlinux.org/other/pyalpm/$pkgname-$pkgver.tar.gz")
|
|
sha1sums=('62fafb93d30c27b5a5a09df3e802d6e50fed9802')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
# workaround Python packaging issue (FS#34658)
|
|
export CFLAGS="$CFLAGS -Wno-format"
|
|
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
python3 setup.py install --root=${pkgdir}
|
|
}
|