blob: 97a0852358d0345eb044a600db68740753125558 (
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
31
32
|
# Maintainer: rnestler
pkgname=git-delete-merged-branches
pkgver=7.4.2
pkgrel=1
pkgdesc="Command-line tool to delete merged Git branches."
arch=('any')
url="https://pypi.org/project/git-delete-merged-branches/"
license=('GPL3')
depends=('python>=3.9.0' 'python-colorama' 'python-prompt_toolkit')
makedepends=('python-setuptools')
checkdepends=('python-parameterized')
source=("$pkgname-$pkgver.tar.gz::https://github.com/hartwork/$pkgname/archive/$pkgver.tar.gz")
sha512sums=('2992f773f905905ff04f861523acd912515afc9766716b51c2017cbe6933cc92ce5684f2403c0a662cb0232e8c783073673e136401ee748eed47ed8b9b979868')
build() {
cd "$srcdir"/$pkgname-$pkgver
python setup.py build
}
check() {
cd "$srcdir"/$pkgname-$pkgver
python setup.py test || echo "Tests failed"
}
package() {
cd $pkgname-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
|