This commit is contained in:
Tracker-Friendly 2024-02-14 21:05:09 +00:00
parent 2563a7aad3
commit e560a4cf55
4 changed files with 10 additions and 7 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.flatpak-builder

View File

@ -1,10 +1,11 @@
CC = gcc
DESTDIR = /usr/bin
CFLAGS = -Wall -Wextra -g
PKG_CONFIG = pkg-config
GTK_LIBS = $(shell $(PKG_CONFIG) --libs gtk+-3.0)
WEBKIT_LIBS = $(shell $(PKG_CONFIG) --libs webkit2gtk-4.1)
WEBKIT_LIBS = $(shell $(PKG_CONFIG) --libs webkit2gtk-4.0)
LIBS = $(GTK_LIBS) $(WEBKIT_LIBS)
INCLUDES = $(shell $(PKG_CONFIG) --cflags gtk+-3.0 webkit2gtk-4.1)
INCLUDES = $(shell $(PKG_CONFIG) --cflags gtk+-3.0 webkit2gtk-4.0)
SRCS = pageburger.c
OBJS = $(SRCS:.c=.o)
@ -22,3 +23,7 @@ $(TARGET): $(OBJS)
clean:
rm -f $(OBJS) $(TARGET)
install:
mkdir -p $(DESTDIR)
cp pageburger $(DESTDIR)

View File

@ -1,3 +0,0 @@
#!/bin/sh
make
cp pageburger /usr/bin/

View File

@ -3,7 +3,7 @@
"runtime": "org.gnome.Platform",
"runtime-version": "45",
"sdk": "org.gnome.Sdk",
"command": "pageburger",
"command": "/app/bin/pageburger",
"modules": [
{
"name": "PageBurger",
@ -16,7 +16,7 @@
}
],
"build-commands": [
"./install.sh"
"make install DESTDIR=/app/bin/"
]
}
]