fix some more crap
This commit is contained in:
parent
df730ea5f4
commit
0b576e43a2
2
Makefile
2
Makefile
|
@ -33,7 +33,7 @@ pkg_arch: dist
|
||||||
command -v makepkg > /dev/null || exit 1
|
command -v makepkg > /dev/null || exit 1
|
||||||
[ -f PKGBUILD ] || exit 1
|
[ -f PKGBUILD ] || exit 1
|
||||||
cp -f PKGBUILD PKGBUILD.orig
|
cp -f PKGBUILD PKGBUILD.orig
|
||||||
sed -i "s/VERSION/${VER}/g; s/MD5SUM/$$(md5sum *.tar.gz | cut -d ' ' -f 1)/g; s/NAME/${NAME}/g; s/DESC/${DESC}/g; s/URL/${URL}/g; s/LICENSE/${LICENSE}/g; s/DEPENDENCIES/${DEPENDENCIES}/g; s/GROUPS/${GROUPS}/g" PKGBUILD
|
sed "s|VERSION|${VER}|g; s|MD5SUM|$$(md5sum *.tar.gz | cut -d ' ' -f 1)|g; s|NAME|${NAME}|g; s|DESC|${DESC}|g; s|URL|${URL}|g; s|LICENSE|${LICENSE}|g; s|DEPENDENCIES|${DEPENDENCIES}|g; s|GROUPS|${GROUPS}|g" PKGBUILD.orig > PKGBUILD
|
||||||
makepkg -sfr --sign || exit 1
|
makepkg -sfr --sign || exit 1
|
||||||
rm -rf src/ pkg/
|
rm -rf src/ pkg/
|
||||||
cp PKGBUILD ${NAME}-${VER}.PKGBUILD; mv PKGBUILD.orig PKGBUILD
|
cp PKGBUILD ${NAME}-${VER}.PKGBUILD; mv PKGBUILD.orig PKGBUILD
|
||||||
|
|
16
options.mk
16
options.mk
|
@ -1,8 +1,8 @@
|
||||||
NAME = "my-awesome-program"# Program name here. It will be added to the PKGBUILD automatically.
|
NAME = my-awesome-program
|
||||||
DESC = "My awesome description here"# Program description here. It will be added to the PKGBUILD automatically.
|
DESC = My awesome description here
|
||||||
URL = "https://git.example.com/me/my-awesome-program"# URL to the program here. It will be added to the PKGBUILD automatically.
|
URL = https://git.example.com/me/my-awesome-program
|
||||||
LICENSE = "GPL"# License of the program. It will be added to the PKGBUILD automatically.
|
LICENSE = GPL
|
||||||
VER = "0.1"# The version number here. It will be added to the PKGBUILD automatically.
|
VER = 0.1
|
||||||
DEPENDENCIES = ""# Dependencies for the program. It will be added to the PKGBUILD automatically.
|
DEPENDENCIES =
|
||||||
GROUPS = ""# Groups the program is part of. It will be added to the PKGBUILD automatically.
|
GROUPS =
|
||||||
PREFIX = "/usr"# Prefix
|
PREFIX = /usr
|
||||||
|
|
Loading…
Reference in a new issue