mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 17:43:12 +08:00
namcap: rebuild to fix #53
This commit is contained in:
parent
3e01030083
commit
8e0f6bd405
@ -2,9 +2,9 @@
|
||||
|
||||
pkgname=namcap
|
||||
pkgver=3.2.7
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="A Pacman package analyzer"
|
||||
arch=('any')
|
||||
arch=('x86_64')
|
||||
url="http://projects.archlinux.org/namcap.git/"
|
||||
license=('GPL')
|
||||
depends=('python3' 'pyalpm>=0.5' 'licenses'
|
||||
@ -14,23 +14,23 @@ source=(https://sources.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.
|
||||
sha1sums=('fa43c1f0d842a1b49bb14fe3418630e752f74c82')
|
||||
|
||||
prepare() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
cd $pkgname-$pkgver
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
cd $pkgname-$pkgver
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
check() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
cd $pkgname-$pkgver
|
||||
# env PARSE_PKGBUILD_PATH=${srcdir}/${pkgname}-${pkgver} \
|
||||
# PATH=${srcdir}/${pkgname}-${pkgver}:$PATH \
|
||||
# python3 setup.py test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
python3 setup.py install --root=${pkgdir}
|
||||
cd $pkgname-$pkgver
|
||||
python3 setup.py install --root=$pkgdir
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user