summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e508e04da7509571e79bc0d5cea7e1370953fb54 (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
pkgname=zrge
pkgver=1.0.1
pkgrel=1
pkgdesc="Zer Graphic Editor (zrge) is a simple raster graphic editor designed to work with the ZPIF, PNG, and JPEG formats."
arch=('x86_64')
url="https://github.com/ZerTeam/ZRGE"
license=('GPL3')
depends=(
 'sfml=2.6.2'
 'gcc'
)
source=("https://github.com/ZerTeam/ZRGE/archive/refs/tags/zrge1.0.1.tar.gz")
sha256sums=('SKIP')

build() {
    cd "$srcdir/ZRGE-zrge1.0.1"
    g++ zrge.cpp -o zrge -lsfml-graphics -lsfml-window -lsfml-system -std=c++20
}

package() {
    cd "$srcdir/ZRGE-zrge1.0.1"
    install -Dm755 zrge "$pkgdir/usr/bin/zrge"
    install -Dm644 -t "$pkgdir/usr/share/zrge/images" images/*
}