blob: 0a2d353e96828826f620d7c46c3945641107f05f (
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
|
# Maintainer: piernov <piernov@piernov.org>
pkgname=opensuperclone-git
_pkgname=OpenSuperClone
pkgver=r222.6b340ff
pkgrel=2
pkgdesc="Fork of HDDSuperClone"
arch=('x86_64')
url="https://github.com/ISpillMyDrink/OpenSuperClone"
license=('GPL2')
depends=('gtk3' 'libusb-compat' 'libconfig')
makedepends=('git' 'cmake' 'xxd')
optdepends=('dkms: for virtual drive and direct mode support')
source=("git+https://github.com/ISpillMyDrink/OpenSuperClone.git")
sha512sums=('SKIP')
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$_pkgname"
mkdir -p build && cd build
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "$_pkgname/build"
make DESTDIR="${pkgdir}" install
}
|