summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c5cacb8443a6f67efbe11553561fd5fa2139bdd9 (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: Nyxxie <nyxxie@protonmail.ch>
pkgname=mycroft
pkgver=0.1
pkgrel=1
pkgdesc="File format reverse engineering and rapid prototyping tool."
url="github.com/nyxxxie/mycroft"
arch=('i686' 'x86_64')
license=('GPL')
depends=('sqlite' 'capstone' 'python' 'openssl' 'gtest' 'qt5-base')
optdepends=('graphviz: doxygen graph support')
makedepends=('make' 'cmake')
provides=('qmycroft' 'libmycroft_core')
conflicts=()
replaces=()
backup=()
source=("git+https://github.com/nyxxxie/mycroft.git")
sha256sums=('SKIP')
prepare() {
    mkdir -p build
}

build() {
    cd build
    cmake ../$pkgname \
        -DCMAKE_BUILD_TYPE=Release \
        -DCMAKE_INSTALL_PREFIX=/usr
    make
}
package() {
    cd build
    make DESTDIR="$pkgdir" install
}