summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e92dab4861c327f3a1b1574724f5cac39e41ea29 (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:  kernel1024 <kernelonline at gmail dot com>

pkgname=qregedit-git
_pkgname=qregedit
pkgver=20230428.7650144
pkgrel=1
pkgdesc="Windows registry editor written with Qt, based on chntpw code"
arch=('i686' 'x86_64')
url="https://github.com/kernel1024/qregedit"
license=('GPL2')

depends=('qt6-base')

makedepends=('git')
source=("git+https://github.com/kernel1024/qregedit.git")
md5sums=('SKIP')

pkgver() {
    cd "${srcdir}/${_pkgname}"
    git log -1 --format='%cd.%h' --date=short | tr -d -
}

build () {
    cd "$srcdir/${_pkgname}"
    qmake6
    make
}

package () {
    cd "$srcdir/${_pkgname}"
    make INSTALL_ROOT="${pkgdir}" install
}