blob: c840e514d183cac5af431463295d1a70663e8e11 (
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
37
38
|
# Maintainer: Papangkorn Apinyanon <dev@papangkorn.com>
pkgname=sslide
pkgver=0.0.14
pkgrel=1
pkgdesc="Simple presentation program"
arch=('x86_64')
url="https://codeberg.org/sleepntsheep/sdraw"
license=('GPL3')
groups=()
depends=('sdl2' 'sdl2_ttf' 'sdl2_image' 'fontconfig')
makedepends=( 'premake' 'make' )
optdepends=()
provides=('sslide')
conflicts=('sslide')
replaces=()
backup=()
options=()
install=
changelog=
source=("https://codeberg.org/sleepntsheep/sslide/archive/$pkgver.tar.gz")
noextract=()
md5sums=('SKIP')
build() {
cd "$pkgname/"
premake5 gmake2
}
package() {
whoami
cd "$pkgname/"
make config=release
install -Dm755 ./Release/sslide "${pkgdir}/usr/local/bin/sslide"
rm sslide.desktop
wget https://codeberg.org/sleepntsheep/sslide/raw/branch/main/sslide.desktop
desktop-file-install --dir=$HOME/.local/share/applications sslide.desktop
}
|