blob: a8ec46fc80612ed844a6868f4b5240d0a17862db (
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
|
# Maintainer: Gauthier B <gogoprog at gmail dot com>
pkgname=ddsviewer-git
pkgver=r19.b3eba50
pkgrel=1
epoch=1
pkgdesc='DDS file viewer (DirectDraw Surface)'
arch=(i686 x86_64)
url=https://github.com/gogoprog/ddsviewer
license=(GPL2)
depends=(sfml)
makedepends=(git premake)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=(git+"${url}".git)
md5sums=('SKIP')
pkgver() {
cd "${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${pkgname%-git}/build"
premake5 gmake
make config=release
}
package() {
install -Dm755 "${pkgname%-git}/build/bin/Release/${pkgname%-git}" -t ${pkgdir}/usr/bin
}
|