summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 62ab1db9f78461b5477d1041722b5be64e09205d (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
# Maintainer: FishHawk <whang23@outlook.com>

pkgname=fez-dot
_pkgname=FezDot
pkgver=0.1.1
pkgrel=3
pkgdesc="A rotating translucent four dimensions hypercube"
arch=('x86_64')
url="https://github.com/FishHawk/FezDot"
license=('GPL')
depends=('qt5-quickcontrols2')
makedepends=('cmake')
source=("$pkgname-$pkgver.tar.gz::https://github.com/FishHawk/FezDot/archive/$pkgver.tar.gz")
sha256sums=('4d46d97a703d0e735c02b980f050160323c54f7a688c7ff5e3c27fe8cdf95c4b')

build() {
  cd "$srcdir/$_pkgname-$pkgver"

  mkdir -p build
  cd build
  cmake -DCMAKE_INSTALL_PREFIX=/usr ..
  make
}

package() {
  cd "$srcdir/$_pkgname-$pkgver"

  cd build
  make DESTDIR="$pkgdir" install
}