diff options
author | Brody | 2023-05-04 08:51:22 +0200 |
---|---|---|
committer | Brody | 2023-05-04 08:51:22 +0200 |
commit | 5b49aa9be78d3b23e5a5b0eda471268d72eeda8a (patch) | |
tree | e5b70392aa7a0c3e0f7e5b5613d556f0a965e446 | |
parent | fa549f1339791a3e75242d6cfb651f0126f20cad (diff) | |
download | aur-5b49aa9be78d3b23e5a5b0eda471268d72eeda8a.tar.gz |
Rebuild only (for Python 3.11)
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | .gitignore | 9 | ||||
-rw-r--r-- | PKGBUILD | 18 |
3 files changed, 14 insertions, 15 deletions
@@ -1,7 +1,7 @@ pkgbase = konsave pkgdesc = Save and apply your KDE Plasma customizations with just one command! pkgver = 2.2.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/Prayag2/konsave arch = any license = GPL3 diff --git a/.gitignore b/.gitignore index 76cdfeea1f71..05c6d4d4c97b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ -/pkg/ -/src/ -/*.t{ar,gz} -/*.tar.* -/*.log +* +!.gitignore +!.SRCINFO +!PKGBUILD @@ -3,33 +3,33 @@ pkgname=konsave pkgver=2.2.0 -pkgrel=1 +pkgrel=2 pkgdesc='Save and apply your KDE Plasma customizations with just one command!' -url="https://github.com/Prayag2/${pkgname}" +url=https://github.com/Prayag2/${pkgname} depends=(python-pyaml) makedepends=(python-setuptools-scm) license=(GPL3) arch=(any) -source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") +source=(${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz) sha512sums=(c9f513fb0ff4bad477765e91614295d120af349c6e60f4116ae8a7e0bd205958adc3fa01034183c6d18c127dcb730a93883527053a334496bc16b829cc22aa24) build() { - export SETUPTOOLS_SCM_PRETEND_VERSION="${pkgver}" - cd "${pkgname}-${pkgver}" + export SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver} + cd ${pkgname}-${pkgver} python setup.py build } package() { - cd "${pkgname}-${pkgver}" + cd ${pkgname}-${pkgver} python setup.py install \ --root="${pkgdir}" \ --optimize=1 \ --skip-build # Copying configuration files - _python_folder=$(python -c "import site; print(site.getsitepackages()[0])") - install -Dm644 konsave/conf_kde.yaml "${pkgdir}/${_python_folder}/${pkgname}/conf_kde.yaml" - install -Dm644 konsave/conf_other.yaml "${pkgdir}/${_python_folder}/${pkgname}/conf_other.yaml" + _python_folder=$(python -c 'import site; print(site.getsitepackages()[0])') + install -Dm644 konsave/conf_kde.yaml "${pkgdir}"/${_python_folder}/${pkgname}/conf_kde.yaml + install -Dm644 konsave/conf_other.yaml "${pkgdir}"/${_python_folder}/${pkgname}/conf_other.yaml } # vim: ts=2 sw=2 et: |