mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
add namcap, rebuild kldap for libsasl
This commit is contained in:
parent
f31a2e7fd5
commit
afe054ba8f
@ -3,12 +3,12 @@ source ../kdeapps.conf
|
||||
|
||||
pkgname=kldap
|
||||
pkgver=${_kdever}
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="LDAP access API for KDE"
|
||||
arch=('x86_64')
|
||||
url="https://projects.kde.org/$pkgname"
|
||||
license=(LGPL)
|
||||
depends=(kcompletion ki18n)
|
||||
depends=(kcompletion ki18n libsasl libldap)
|
||||
makedepends=(extra-cmake-modules python3)
|
||||
options=('debug')
|
||||
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
|
||||
|
36
namcap/PKGBUILD
Normal file
36
namcap/PKGBUILD
Normal file
@ -0,0 +1,36 @@
|
||||
# arch contributor: https://projects.archlinux.org/svntogit/packages.git/plain/trunk/PKGBUILD?h=packages/namcap
|
||||
|
||||
pkgname=namcap
|
||||
pkgver=3.2.6
|
||||
pkgrel=1
|
||||
pkgdesc="A Pacman package analyzer"
|
||||
arch=('any')
|
||||
url="http://projects.archlinux.org/namcap.git/"
|
||||
license=('GPL')
|
||||
depends=('python3' 'pyalpm>=0.5' 'licenses'
|
||||
'binutils' 'elfutils' 'python3-pyelftools')
|
||||
makedepends=('python3-setuptools')
|
||||
source=(https://sources.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz)
|
||||
sha1sums=('a7d3f21b5df211c1e2cbfae80373e657d49d1b36')
|
||||
|
||||
prepare() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
check() {
|
||||
cd ${srcdir}/${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}
|
||||
}
|
||||
|
@ -4,21 +4,25 @@
|
||||
|
||||
pkgname=pyalpm
|
||||
pkgver=0.7
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
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')
|
||||
depends=('python3>=3.5' 'pacman>=4.2')
|
||||
source=("https://sources.archlinux.org/other/pyalpm/$pkgname-$pkgver.tar.gz"
|
||||
"py35.patch::https://projects.archlinux.org/users/remy/pyalpm.git/patch/?id=dc61782e9bd085a8a09bc7954231eb15e6e085e5")
|
||||
sha1sums=('62fafb93d30c27b5a5a09df3e802d6e50fed9802'
|
||||
'f8ec083281e4b4815381fb5388f83703ff692102')
|
||||
|
||||
prepare() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
patch -Np1 -i ../py35.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
|
||||
# workaround Python packaging issue (FS#34658)
|
||||
export CFLAGS="$CFLAGS -Wno-format"
|
||||
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
|
30
python3-pyelftools/PKGBUILD
Normal file
30
python3-pyelftools/PKGBUILD
Normal file
@ -0,0 +1,30 @@
|
||||
# arch contributor: https://projects.archlinux.org/svntogit/packages.git/plain/trunk/PKGBUILD?h=packages/python-pyelftools
|
||||
|
||||
pkgname=python3-pyelftools
|
||||
_pypiname=pyelftools
|
||||
pkgver=0.23
|
||||
pkgrel=2
|
||||
pkgdesc="Python library for analyzing ELF files and DWARF debugging information"
|
||||
arch=('any')
|
||||
url="https://github.com/eliben/pyelftools"
|
||||
license=('custom')
|
||||
depends=('python')
|
||||
source=("${_pypiname}-${pkgver}.zip::https://github.com/eliben/pyelftools/archive/v${pkgver}.zip")
|
||||
sha1sums=('553de375ae13e5cd96efd2d9fe439aacbfbe1806')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/${_pypiname}-${pkgver}
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
check() {
|
||||
cd ${srcdir}/${_pypiname}-${pkgver}
|
||||
python3 test/run_all_unittests.py
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/${_pypiname}-${pkgver}
|
||||
python3 setup.py install --root=${pkgdir}
|
||||
install -D -m 644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user