blob: 5edfee38bb4d3f3c21796f488e7e98b866cee17a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: Justin Vreeland <vreeland.justin@gmail.com>
# Maintainer: weilinfox <caiweilin at iscas.ac.cn>
pkgname=debmake
pkgver=4.4.0
pkgrel=4
_pkgrel=4
pkgdesc="Helper script to make the Debian source package"
arch=('any')
url="https://salsa.debian.org/debian/debmake"
license=('LicenseRef-debmake')
makedepends=('git' 'python-build' 'python-installer' 'python-setuptools' 'python-wheel')
depends=('devscripts' 'dpkg' 'python' 'python-debian' 'rsync')
optdepends=('strace' 'wget' 'curl')
source=("$pkgname-$pkgver::git+https://salsa.debian.org/debian/debmake.git#tag=debian/$pkgver-$_pkgrel")
md5sums=('SKIP')
build() {
cd "$pkgname-$pkgver"
python -m build --wheel --skip-dependency-check --no-isolation
}
package() {
cd "$pkgname-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 debian/copyright "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|