blob: 51fb0367e5386d888e322706f5da8827c66ee92b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: Yardena Cohen <yardenack at gmail dot com>
# check for new commits:
# https://github.com/Lyrrad/NewsBlurBackgroundTab/commits/master
gitname=newsblurbackgroundtab
pkgname=${gitname}-git
pkgver=32.bf8d36e
pkgrel=2
pkgdesc="Chrome/Chromium extension to open background tabs from newsblur"
arch=('any')
url="https://github.com/Lyrrad/${gitname}"
license=('GPL')
makedepends=(git)
source=("git+${url}.git")
sha512sums=('SKIP')
pkgver() {
cd "${srcdir}/${gitname}"
local ver="$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
printf "%s" "${ver//-/.}"
}
package() {
mkdir -p "${pkgdir}/usr/share/chromium/${gitname}"
shopt -u dotglob
cp -dr --no-preserve=ownership "${srcdir}/${gitname}"/* "${pkgdir}/usr/share/chromium/${gitname}/"
}
|