blob: 9f19bd9900efdce444b6f72839e6fabdee601da2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=licenseheaders
pkgver=0.7
pkgrel=1
pkgdesc="Add/Replace license headers in a directory tree of source files"
url="https://github.com/johann-petrak/licenseheaders"
arch="noarch"
license="MIT"
depends="python3 py3-regex"
makedepends="py3-setuptools"
options="!check" # no tests
source="https://files.pythonhosted.org/packages/source/l/licenseheaders/licenseheaders-$pkgver.tar.gz"
build() {
python3 setup.py build
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="d78f091a384d2b0b1c5b40a378d2c321b2ed22a50f9386a639672ee787ddf234bccc2020c3b8363bf8c32939c89878aa3ac3aa4a3bb71ca5750e84d5debbc0a2 licenseheaders-0.7.tar.gz"
|