From b6bb1632402f3ef1c3e8e152da193fde85ba5a0b Mon Sep 17 00:00:00 2001 From: "Schimon Jehudah, Adv." Date: Thu, 28 Nov 2024 08:55:51 +0200 Subject: [PATCH] Add a build file PKGBUILD based on VF-1 PKGBUILD by Mr. Brayden Banks. --- PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..ecc734b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Schimon Jehudah Zachary +_pkgname=feedr +pkgname=feedr-git +pkgver=r4.8843435 +pkgrel=1 +pkgdesc="Open syndication feed files from desktop." +arch=('any') +url="https://git.xmpp-it.net/sch/Feedr" +license=('MIT') +depends=('sh') +makedepends=('git') +#provides=("${pkgname%}") +#conflicts=("${pkgname%}") +source=('feedr-git::git+https://git.xmpp-it.net/sch/Feedr') +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/${pkgname}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + mkdir -p "$pkgdir/usr/share/$_pkgname/css/" + mkdir -p "$pkgdir/usr/share/$_pkgname/xsl/" + install -D -m644 "$srcdir/${pkgname}/css/"* "$pkgdir/usr/share/$_pkgname/css/" + install -D -m644 "$srcdir/${pkgname}/xsl/"* "$pkgdir/usr/share/$_pkgname/xsl/" + install -D -m644 "$srcdir/${pkgname}/LICENSE" "$pkgdir/usr/share/licenses/$_pkgname/LICENSE" + install -D -m644 "$srcdir/${pkgname}/README.md" "$pkgdir/usr/share/doc/$_pkgname/README.md" + install -D -m755 "$srcdir/${pkgname}/feedr.sh" "$pkgdir/usr/bin/feedr" +}