summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f52d0f8a6297f5c705431f1441a5ce0334f8ecbf (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
35
36
# Maintainer: Papangkorn Apinyanon <dev@papangkorn.com>
pkgname=sdraw
pkgver=0.1.0
pkgrel=1
pkgdesc="Simple painting program"
arch=('x86_64')
url="https://codeberg.org/sleepntsheep/sdraw"
license=('GPL3')
groups=()
depends=('sdl2' 'sdl2_ttf')
makedepends=( 'autoconf' 'automake' 'make' )
optdepends=()
provides=('sdraw')
conflicts=('sdraw')
replaces=()
backup=()
options=()
install=
changelog=
source=("https://codeberg.org/sleepntsheep/sdraw/archive/$pkgver.tar.gz")
noextract=()
md5sums=('SKIP')

build() {
    cd "$pkgname/"

    autoreconf -fi
    ./configure --prefix=/usr
}

package() {
    cd "$pkgname/"
    make DESTDIR="$pkgdir" install
    desktop-file-install --dir=$HOME/.local/share/applications sdraw.desktop
}