blob: 88f4180b1079dca95e74e0a63f1f0a745b9143c0 (
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
|
# Maintainer: Felix Yan <felixonmars@archlinux.org>
_pkgname=chnroutes-alike
pkgname=$_pkgname-git
pkgver=0.101.9253c48
pkgrel=1
pkgdesc="Collection of IP ranges not in China but works good enough"
arch=('any')
url="https://github.com/felixonmars/chnroutes-alike"
license=('Unlicense')
makedepends=('git')
source=("git+https://github.com/felixonmars/${_pkgname}.git")
md5sums=('SKIP')
pkgver() {
cd $_pkgname
echo 0.$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
package() {
cd $_pkgname
install -Dm644 *.txt -t "$pkgdir"/usr/share/chnroutes-alike/
}
# vim:set ts=2 sw=2 et:
|