test package
This commit is contained in:
commit
d91da70483
18
histausse-hello-world/PKGBUILD
Normal file
18
histausse-hello-world/PKGBUILD
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Maintainer: Histausse
|
||||
|
||||
pkgname=histausse-hello-world
|
||||
pkgver=0.0.1
|
||||
pkgrel=1
|
||||
pkgdesc="Test package printing hello world"
|
||||
arch=('x86_64')
|
||||
license=('BSD-3-Clause')
|
||||
|
||||
depends=("python")
|
||||
source=("${pkgname}-${pkgver}::histausse-hello-world")
|
||||
b2sums=('505eb4afc6b37643dc52a97659057b8f5be7e38d1f70de6c52b8891095eef698b8fab2392639b6f4ce529cbcb7e6b2077908b44ef292affade1341b13fb2a486')
|
||||
|
||||
package() {
|
||||
mkdir -p "${pkgdir}/usr/bin"
|
||||
mv "${pkgname}-${pkgver}" "${pkgdir}/usr/bin/${pkgname}"
|
||||
chmod 755 "${pkgdir}/usr/bin/${pkgname}"
|
||||
}
|
4
histausse-hello-world/histausse-hello-world
Executable file
4
histausse-hello-world/histausse-hello-world
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
if __name__ == '__main__':
|
||||
print("Hello World")
|
Loading…
Reference in a new issue