31 lines
1 KiB
Text
31 lines
1 KiB
Text
|
# 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"
|
||
|
}
|