Skip to content

Commit

Permalink
multiple: fix install.
Browse files Browse the repository at this point in the history
  • Loading branch information
noptrix committed Dec 27, 2024
1 parent b228749 commit 106e744
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/python-python-flirt/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@

pkgname=python-python-flirt
_pkgname=python_flirt
pyver=3.12
pkgver=0.8.10
pkgrel=3
_pyver=3.13
pkgver=0.9.2
pkgrel=1
pkgdesc='A Python library for parsing, compiling, and matching Fast Library Identification and Recognition Technology (FLIRT) signatures.'
arch=('x86_64')
url='https://pypi.org/project/python-flirt/#files'
license=('Apache')
depends=('python')
source=("https://files.pythonhosted.org/packages/71/e0/09799ec5a70a314ff8779e22982d62f62d882a29cf69fac1895a62daaa91/$_pkgname-$pkgver-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl")
sha512sums=('c408cee06fa11193bca9afd59b1f93e476a281bcdeae33fdb09c22c0de28f4a621b0038c041dfad1550c90f52b9a204c646ae97bdf6a9aef9a33b7c3618ea917')
source=("https://files.pythonhosted.org/packages/02/8f/e8c2c09ff15da9315e3eabf001ff643e0b86db51d9bed16b6a485ce96619/$_pkgname-$pkgver-cp${_pyver//./}-cp${_pyver//./}-manylinux_2_17_x86_64.manylinux2014_x86_64.whl")
sha512sums=('709fb9781f6165032f94ee1070c47f9bbaaae5e3c13c6c468f7b2e715eb779e1e7fecb89c96efce6e28959e3b03f908109a8be9f9727932904f48e348a03694a')

package() {
install -Dm 755 -t "$pkgdir/usr/lib/python$pyver/site-packages/" \
flirt/flirt.cpython-312-x86_64-linux-gnu.so
install -Dm 755 -t "$pkgdir/usr/lib/python$_pyver/site-packages/" \
"flirt/flirt.cpython-${_pyver//./}-x86_64-linux-gnu.so"

cp -a "$_pkgname-$pkgver.dist-info" \
"$pkgdir/usr/lib/python$pyver/site-packages/"
"$pkgdir/usr/lib/python$_pyver/site-packages/"
}

0 comments on commit 106e744

Please sign in to comment.