blob: 11d07dd4c2efe95c009de7639478aca008a0aa62 (
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
|
# Maintainer: WorMzy Tykashi <wormzy.tykashi@gmail.com>
pkgname=dwarftherapist
pkgver=40.1.0
pkgrel=1
pkgdesc="Heavily modified version of the original Dwarf Therapist."
url="https://github.com/Dwarf-Therapist/Dwarf-Therapist"
arch=('x86_64' 'i686')
license=('MIT')
depends=('qt5-declarative' 'hicolor-icon-theme' 'libcap')
makedepends=('cmake')
install="dwarftherapist.install"
source=(${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz)
md5sums=('00cef0d62a5cc8917c8fc2ebbf4bb9ed')
sha256sums=('21f8d5be1f4a4c58c4214534a819bb2761c9a2d1e8868135772936909fe0da80')
build() {
cd Dwarf-Therapist-${pkgver}
cmake -DCMAKE_INSTALL_PREFIX="/usr" .
make
}
package() {
cd Dwarf-Therapist-${pkgver}
make DESTDIR="${pkgdir}" install
# Link license to expected location
install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
ln -s /usr/share/doc/dwarftherapist/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
# vim:set ts=2 sw=2 et:
|