blob: 1fcfab7b64ccf91f91df20e47da0e7060cb1027a (
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
|
# Contributor: K. Piche <kpiche <at> rogers <dot> com>
# Maintainer: Jenya Sovetkin <e.sovetkin <at> gmail <dot> com>
pkgname=ripmime-git
pkgver=r13.a556ffe
pkgrel=2
arch=(any)
license=('BSD')
pkgdesc="Tool to extract the attached files out of a MIME package"
url="https://github.com/inflex/ripMIME"
source=('git+https://github.com/inflex/ripMIME')
md5sums=('SKIP')
makedepends=('git')
_gitname=ripMIME
pkgver() {
cd "${_gitname}"
# Get the version number.
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${srcdir}/${_gitname}"
make || return 1
mkdir -p "${pkgdir}/usr/bin" "${pkgdir}/usr/man/man1"
make LOCATION="${pkgdir}/usr" install
}
|