From fa35db191d6a5ed3cdd1d0b9f1fd6997fac71a0e Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Fri, 31 Dec 2021 13:35:32 +0100 Subject: [PATCH] First version! --- PKGBUILD | 15 +++++++++++++++ hello_world | 3 +++ 2 files changed, 18 insertions(+) create mode 100644 PKGBUILD create mode 100644 hello_world diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..5c46f3b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,15 @@ +pkgname="jjr-test" +pkgver="0.1.0" +pkgrel="1" +pkgdesc="A package for testing the repo." +arch=("x86_64") +license=("custom") +source=("hello_world") +sha512sums=("SKIP") + +package() { + mkdir -p "${pkgdir}/usr/bin" + + cp "${srcdir}/hello_world" "${pkgdir}/usr/bin/hello_world" + chmod +x "${pkgdir}/usr/bin/hello_world" +} diff --git a/hello_world b/hello_world new file mode 100644 index 0000000..92dc4a7 --- /dev/null +++ b/hello_world @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +echo "Hello, world!"