-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
build_package.sh
executable file
·31 lines (25 loc) · 1.1 KB
/
build_package.sh
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
# assumes release build already present
# otherwise uncomment the following line
#./build_release.sh
mkdir -p package_linux/usr/local/bin
mkdir -p package_linux/usr/local/share/man/man1
mkdir -p package_linux/usr/share/applications
mkdir -p package_linux/usr/share/icons/hicolor/48x48/apps
cp ./sdl_img ./package_linux/usr/local/bin
cp sdl_img.1 ./package_linux/usr/local/share/man/man1
cp sdl_img.desktop ./package_linux/usr/share/applications
cp ./package/sdl_img.png ./package_linux/usr/share/icons/hicolor/48x48/apps
fpm -s dir -t deb -v 1.0-RC2 -n sdl_img -C package_linux \
--log info --verbose \
-d "libsdl2-2.0-0 >= 2.0.5" -d "libcurl4" \
-m "Robert Winkler <[email protected]>" \
--description "A simple image viewer based on SDL2 and stb_image" \
--license MIT \
--url "https://github.com/rswinkle/sdl_img"
fpm -s dir -t tar -v 1.0-RC2 -n sdl_img_1.0-RC2 -C package_linux \
--log info --verbose \
-d "libsdl2-2.0-0 >= 2.0.5" -d "libcurl4" \
-m "Robert Winkler <[email protected]>" \
--description "A simple image viewer based on SDL2 and stb_image" \
--license MIT \
--url "https://github.com/rswinkle/sdl_img"