commit d91da704831e8fb885cc8f60c1a956e4ea0bb5b1 Author: Jean-Marie Mineau Date: Thu Jan 11 14:08:24 2024 +0100 test package diff --git a/histausse-hello-world/PKGBUILD b/histausse-hello-world/PKGBUILD new file mode 100644 index 0000000..657c618 --- /dev/null +++ b/histausse-hello-world/PKGBUILD @@ -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}" +} diff --git a/histausse-hello-world/histausse-hello-world b/histausse-hello-world/histausse-hello-world new file mode 100755 index 0000000..39fc5e6 --- /dev/null +++ b/histausse-hello-world/histausse-hello-world @@ -0,0 +1,4 @@ +#!/usr/bin/env python + +if __name__ == '__main__': + print("Hello World")