Skip to content

Commit

Permalink
feat: add PKGBUILD for Arch packaging (#163)
Browse files Browse the repository at this point in the history
Co-authored-by: Kyle Gospodnetich <[email protected]>
  • Loading branch information
BoukeHaarsma23 and KyleGospo authored Feb 28, 2024
1 parent 57bcee5 commit a827362
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions pkg/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
pkgname=yafti
pkgver=0.8.0
pkgrel=1
pkgdesc="Yet Another First Time Installer"
arch=(any)
depends=(libadwaita gtk4 gobject-introspection python-{gbulb,pydantic,rich,typer,yaml})
source=(https://github.com/ublue-os/yafti/archive/refs/tags/v$pkgver.zip)
sha512sums=('a1491eb6348b9286c0ca5330e864d1e986efb80eb28dcf8869b97d048e12181ca858da69c61cdf3835c81f2e249580ea09946ff3308ffb2beff41d2486f4fddb')
makedepends=(python-{build,installer,wheel,poetry})

build() {
cd "$pkgname-$pkgver"
python -m build --wheel --no-isolation
}

package() {
cd "$pkgname-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}

0 comments on commit a827362

Please sign in to comment.