Skip to content

Commit f8a6dcf

Browse files
committed
Allow to overrule the packagename and version when building the package
1 parent fd34735 commit f8a6dcf

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

builddep.sh

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,25 @@
99
#########################################################################
1010

1111

12+
if [ -z "$PKGNAME" ]
13+
then
1214
PKGNAME="mpd2cdspvolume"
15+
fi
16+
17+
if [ -z "$PKGVERSION" ]
18+
then
1319
PKGVERSION="0.2.2"
20+
fi
21+
22+
if [ -z "$DEBVER" ]
23+
then
1424
DEBVER="1"
15-
DEBLOC="~pre1"
25+
fi
26+
27+
if [ -z "$DEBLOC" ]
28+
then
29+
DEBLOC=""
30+
fi
1631

1732
#------------------------------------------------------------
1833
# Prep root to pack

0 commit comments

Comments
 (0)