iksemel 1.6.2-1
This commit is contained in:
parent
8f6c7b7a50
commit
b72da0ce31
22
PKGBUILD
22
PKGBUILD
@ -12,12 +12,19 @@ arch=('x86_64')
|
|||||||
url="https://github.com/Zaryob/iksemel"
|
url="https://github.com/Zaryob/iksemel"
|
||||||
license=('LGPL-2.1-or-later')
|
license=('LGPL-2.1-or-later')
|
||||||
depends=('glibc' 'python' 'openssl')
|
depends=('glibc' 'python' 'openssl')
|
||||||
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools' 'meson')
|
makedepends=('ninja' 'meson')
|
||||||
source=(https://github.com/Zaryob/iksemel/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
|
source=(https://github.com/Zaryob/iksemel/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz
|
||||||
sha256sums=(8055705c89df7fc0c64d7052188650dfdf3e049da8a7700f19240d8948ecb16c)
|
${pkgname}-${pkgver}.dist-info.tar.gz)
|
||||||
|
sha256sums=(8055705c89df7fc0c64d7052188650dfdf3e049da8a7700f19240d8948ecb16c
|
||||||
|
78fafc64a6b45ab8adbaa6d4bf6861f6612cdb541487b805df5dbf1e4ee5be46)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd ${pkgname}-${pkgver}
|
cd ${pkgname}-${pkgver}
|
||||||
|
|
||||||
|
CFLAGS+=" -Wimplicit-function-declaration"
|
||||||
|
CXXFLAGS+=" -Wimplicit-function-declaration"
|
||||||
|
|
||||||
|
export CFLAGS CXXFLAGS
|
||||||
|
|
||||||
future-meson build \
|
future-meson build \
|
||||||
--prefix /usr \
|
--prefix /usr \
|
||||||
@ -32,7 +39,12 @@ build() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd ${pkgname}-${pkgver}
|
cd ${pkgname}-${pkgver}
|
||||||
|
|
||||||
meson install -C build --destdir ${pkgdir}
|
meson install -C build --destdir ${pkgdir}
|
||||||
|
|
||||||
|
local site_packages=$(python3 -c "import site; print(site.getsitepackages()[0])")
|
||||||
|
|
||||||
|
mv -v ${srcdir}/${pkgname}-${pkgver}.dist-info ${pkgdir}/${site_packages}/
|
||||||
|
|
||||||
}
|
}
|
||||||
|
BIN
iksemel-1.6.2.dist-info.tar.gz
Normal file
BIN
iksemel-1.6.2.dist-info.tar.gz
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user