test package

This commit is contained in:
Jean-Marie Mineau 2024-01-11 14:08:24 +01:00
commit d91da70483
Signed by: histausse
GPG key ID: B66AEEDA9B645AD2
2 changed files with 22 additions and 0 deletions

View 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}"
}

View file

@ -0,0 +1,4 @@
#!/usr/bin/env python
if __name__ == '__main__':
print("Hello World")