pkgname=python-rofi pkgver=a982072 # You may adjust this based on tags or commits pkgrel=1 pkgdesc="A Python interface for Rofi" arch=('any') url="https://gitea.suda.codes/sudacode/python-rofi" license=('MIT') # Replace with the correct license if different depends=('python') makedepends=('git' 'python-setuptools') source=("git+https://gitea.suda.codes/sudacode/python-rofi.git") sha256sums=('SKIP') # No checksum needed for git sources pkgver() { cd "$srcdir/$pkgname" git describe --tags --always | sed 's/-/./g' } build() { cd "$srcdir/$pkgname" python setup.py build } package() { cd "$srcdir/$pkgname" python setup.py install --root="$pkgdir/" --optimize=1 } # Optional: Add a package() function if the package has other files to install.