summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 481adf6c490a74f1d9d3f0f687e897b37382007c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# PKGBUILD generated by pipman
# Python package author: Dmitrii Gerasimov <karlicoss@gmail.com>
pkgname=python-promnesia
pkgver=1.2.20230515
pkgrel=1
pkgdesc="Enhancement of your browsing history"
arch=(any)
url="https://github.com/karlicoss/promnesia"
license=(UNKNOWN)
makedepends=("python" "python-pip")
build() {
  pip install --no-deps --target="promnesia" promnesia==$pkgver
}
package() {
  sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
  mkdir -p $pkgdir/"$sitepackages"
  cp -r $srcdir/promnesia/* $pkgdir/"$sitepackages"
}