blob: 95f67ba52cbbcf2f35c44d3c1ebeeaf417e5fb7f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
pkgname=bigbashview
pkgver=$(curl https://raw.githubusercontent.com/biglinux/bigbashview/master/bigbashview/usr/lib/python3/dist-packages/bbv/globaldata.py | grep APP_VERSION | cut -f2 -d\")_$(date +"%Y_%m_%d")
pkgrel=2
arch=('any')
license=('GPL')
url="https://github.com/biglinux/bigbashview"
pkgdesc="BigBashView is a python app to run Bash+HTML in a Desktop WebView"
depends=('pyside6' 'python-six' 'webkit2gtk-4.1' 'qt6-webengine')
source=("git+https://github.com/biglinux/bigbashview.git")
md5sums=(SKIP)
package() {
mkdir -p "${pkgdir}/usr" "${pkgdir}/usr/lib"
cp -r "${srcdir}/bigbashview/bigbashview/usr/" "${pkgdir}/"
mv "${pkgdir}/usr/lib/python3/dist-packages/bbv/" "${pkgdir}/usr/lib/bbv/"
rm -Rf "${pkgdir}/usr/lib/python3"
sed -i 's|/usr/lib/python3/dist-packages/bbv/|/usr/lib/bbv/|g' "${pkgdir}/usr/bin/bigbashview"
}
|