summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9b98dfa0f5fca31acd9db217ce5d13a8ff768867 (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
# Maintainer: Rotstein
pkgname=memory-game
pkgver=1.1.0
pkgrel=1
pkgdesc="A fun memory game, written in C++."
arch=('x86_64')
url="https://github.com/rotstein007/Memory"
license=('MIT')
depends=('gtk4' 'gcc')
source=("git+https://github.com/rotstein007/Memory.git")
sha256sums=('SKIP')

build() {
    cd "$srcdir/Memory"
    mkdir -p build
    cd build
    cmake ..
    make
}

package() {
    cd "$srcdir/Memory/build"
    install -Dm755 Memory "$pkgdir/usr/bin/Memory"
    install -Dm644 ../MemoryGame.desktop "$pkgdir/usr/share/applications/MemoryGame.desktop"
    install -Dm644 ../img/img.png "$pkgdir/usr/share/icons/hicolor/128x128/apps/MemoryGame.png"
}