mirror of
https://github.com/zebrajr/SamRewritten.git
synced 2025-12-06 00:19:47 +01:00
Fix PKGBUILD and add some Makefile comments
This commit is contained in:
parent
916d83d1ae
commit
318191ec17
2
Makefile
2
Makefile
|
|
@ -5,6 +5,7 @@ PREFIX=/usr
|
|||
HFILES:=$(shell find src/ -type f -iname *.h -print)
|
||||
CXXFILES:=$(shell find src/ -type f -iname *.cpp -print)
|
||||
GTKFLAGS:=$(shell pkg-config gtkmm-3.0 --cflags --libs)
|
||||
# For now, leave it to the distro to provide preferred extra flags
|
||||
CXXFLAGS+=$(GTKFLAGS) -Wall -lsteam_api -lcurl -lyajl -ldl
|
||||
LDFLAGS+=-L${CURDIR}/bin
|
||||
OBJS=$(addprefix ${OBJDIR}/,$(subst .cpp,.o,${CXXFILES}))
|
||||
|
|
@ -23,6 +24,7 @@ clean:
|
|||
|
||||
.PHONY: install
|
||||
install: bin/launch.sh bin/samrewritten bin/libsteam_api.so
|
||||
# TODO: use install for all of these?
|
||||
mkdir -p ${DESTDIR}${PREFIX}/${LIBDIR}/SamRewritten/{bin,glade,assets}
|
||||
mkdir -p ${DESTDIR}${PREFIX}/share/icons/hicolor/{64x64,256x256}/apps
|
||||
mkdir -p ${DESTDIR}${PREFIX}/share/applications
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
pkgname="samrewritten-git"
|
||||
_pkgname="SamRewritten"
|
||||
pkgver=r133.a839930
|
||||
pkgver=r199.916d83d
|
||||
pkgrel=1
|
||||
pkgdesc="A Steam Achievement Manager For Linux."
|
||||
arch=("any")
|
||||
|
|
@ -24,9 +24,10 @@ pkgver() {
|
|||
|
||||
build() {
|
||||
cd ${_pkgname}
|
||||
make DESTDIR=${pkgdir} install
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${_pkgname}
|
||||
}
|
||||
make DESTDIR=${pkgdir} install
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user