blob: fdba40710fe7b6ca50d2f1ad32ac88a4900e3a79 (
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
|
# Maintainer: Max Beikirch <max.beikirch (at) unitybox (dot) de>
pkgname=squash-git
pkgver=0.7.0.r498.g713eeca
pkgrel=1
pkgdesc="tool for compression benchmarks"
arch=('x86_64')
url="https://quixdb.github.io/squash/"
license=('MIT')
depends=('ragel')
makedepends=('cmake' 'git')
source=("git+https://github.com/quixdb/squash.git")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/squash"
git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}
prepare() {
cd "${srcdir}/squash"
./autogen.sh --prefix=/usr
}
build() {
cd "${srcdir}/squash"
make
}
package() {
cd "${srcdir}/squash"
make DESTDIR="${pkgdir}" install
}
|