From 29fa855cdb2b02cb989fdd942382f2c404efbc29 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 25 Sep 2024 22:40:07 +0200 Subject: add packages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- rc.local.d/PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 rc.local.d/PKGBUILD (limited to 'rc.local.d/PKGBUILD') diff --git a/rc.local.d/PKGBUILD b/rc.local.d/PKGBUILD new file mode 100644 index 0000000..b69cc69 --- /dev/null +++ b/rc.local.d/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWF0dGlhcy5hbmRyZWU)@protonmail.com> + +pkgname=rc.local.d +pkgver=1396841433 +pkgrel=1 +pkgdesc="Startup-system independent startup scripts" +url="https://github.com/GNU-Pony/rc.local.d" +arch=(any) +license=(GPL3) +depends=(bash) +optdepends=(linux findutils kbd ntp alsa-utils) +makedepends=(make coreutils general-preprocessor) +source=("${url}/archive/${pkgver}.tar.gz") +sha256sums=(a74d39dd6e6825509112f9796e87b138ad1a810e6dd578bbacec1c47891e171e) + + +build() { + cd "${srcdir}/rc.local.d-${pkgver}" + make PKGNAME="${pkgname}" +} + +package() { + cd "${srcdir}/rc.local.d-${pkgver}" + make PKGNAME="${pkgname}" DESTDIR="${pkgdir}" install + _dir="${pkgdir}/usr/share/licenses/${pkgname}" + ln -sf -- "/usr/share/licenses/common/GPL3" "${_dir}/LICENSE" +} + -- cgit v1.2.3-70-g09d2