blob: cd7af9ee71ae9e156120ce7887eae0c6485ea0c9 (
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
28
29
|
# Maintainer: James Reed <supplantr at archlinux dot info>
_pkgname=busking
pkgname=$_pkgname-git
pkgver=20150528.14
pkgrel=1
pkgdesc='A simple, regex-based xdg-open replacement.'
arch=('any')
url='https://github.com/supplantr/busking'
license=('GPL3')
depends=('perl-file-mimeinfo' 'procps')
makedepends=('git')
provides=("$_pkgname" 'xdg-utils')
conflicts=("$_pkgname" 'xdg-utils')
backup=('etc/xdg/busking/config')
source=("$_pkgname::git://github.com/supplantr/busking.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
echo "$(git log -1 --format="%cd" --date=short | sed 's|-||g').$(git rev-list --count master)"
}
package() {
cd "$srcdir/$_pkgname"
install -Dm755 xdg-open "$pkgdir/usr/bin/xdg-open"
install -Dm644 config "$pkgdir/etc/xdg/busking/config"
}
|