summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d4f18cc17bdc923e8a58ce58afb4511f02cd6525 (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
# Maintainer: Ainola

pkgname=unruu-git
pkgver=v0.1.1.r18.g39d8a2a
pkgrel=2
pkgdesc='Extracts HTC RUU from .exe files'
license=('GPL3')
arch=('x86_64')
depends=('unshield')
makedepends=('git')
url='https://github.com/kmdm/unruu/'
provides=('unruu')
conflicts=('unruu')
source=('git+https://github.com/kmdm/unruu.git')
sha256sums=('SKIP')

pkgver() {
    cd unruu
    git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

prepare() {
    cd unruu
    autoreconf -vfi
}

build() {
    cd unruu
    ./configure --prefix=/usr
    make
}

package() {
    cd unruu
    make DESTDIR="$pkgdir" install
}