blob: 6dce2d098334fe5e0e648f02e2bdc9c10a208700 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Maintainer: Filippo Berto <berto.f@protonmail.com>
_reponame=infoedit
_pkgname=ndn-infoedit
pkgname=${_pkgname}-git
pkgver=r13.3226bdc
pkgrel=1
# epoch=
pkgdesc="Command Line Tools for Boost INFO Format"
arch=('i686' 'x86_64')
url="https://github.com/NDN-Routing/${_reponame}"
#license=('GPL')
groups=()
depends=('boost')
makedepends=('git')
checkdepends=()
optdepends=()
provides=("${_pkgname}")
conflicts=("${_pkgname}")
replaces=()
backup=()
options=()
install=
source=("git+${url}.git")
noextract=()
sha256sums=('SKIP')
validpgpkeys=()
pkgver() {
cd "${srcdir}/${_reponame}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${_reponame}"
make
}
package() {
install -dm 755 "${pkgdir}/usr/bin/"
cd "${srcdir}/${_reponame}"
cp "infoedit" "infoconv" "${pkgdir}/usr/bin/"
}
|