aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/PKGBUILD
blob: c0960b9fb90d2726a6cd46cf9a33494a5e0956eb (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                 
          
        
                                                      
          
                                             
             
                                                                              












                                                                                                    
# Maintainer: Egor Tensin <Egor.Tensin@gmail.com>
pkgname=cmake-common
_name="${pkgname//-/_}"
pkgver=4.0
pkgrel=2
pkgdesc='Utilities to help develop C++/CMake projects'
arch=(any)
url="https://github.com/egor-tensin/$pkgname"
license=(MIT)
makedepends=(python-build python-installer python-setuptools-scm python-wheel)
depends=(python)
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$_name/$_name-$pkgver.tar.gz")
md5sums=(SKIP)

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

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