Add a build file PKGBUILD based on VF-1 PKGBUILD by Mr. Brayden Banks.
This commit is contained in:
parent
8843435e16
commit
b6bb163240
1 changed files with 30 additions and 0 deletions
30
PKGBUILD
Normal file
30
PKGBUILD
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Maintainer: Schimon Jehudah Zachary <sch@fedora.email>
|
||||
_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"
|
||||
}
|
Loading…
Reference in a new issue