forked from puppylinux-woof-CE/woof-CE
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
download() { | ||
if [ ! -f gplaces-0.19.7.tar ]; then | ||
git clone https://github.com/dimkr/gplaces gplaces-0.19.7 | ||
cd gplaces-0.19.7 | ||
git checkout v0.19.7 | ||
if [ ! -f gplaces-0.19.8.tar ]; then | ||
git clone https://github.com/dimkr/gplaces gplaces-0.19.8 | ||
cd gplaces-0.19.8 | ||
git checkout v0.19.8 | ||
git submodule update --init --recursive | ||
cd .. | ||
rm -rf gplaces-0.19.7/.git* gplaces-0.19.7/bestline/.git* | ||
tar -c gplaces-0.19.7 --mtime=@0 --sort=name > gplaces-0.19.7.tar | ||
rm -rf gplaces-0.19.7 | ||
rm -rf gplaces-0.19.8/.git* gplaces-0.19.8/bestline/.git* | ||
tar -c gplaces-0.19.8 --mtime=@0 --sort=name > gplaces-0.19.8.tar | ||
rm -rf gplaces-0.19.8 | ||
fi | ||
} | ||
|
||
build() { | ||
tar -xf gplaces-0.19.7.tar | ||
cd gplaces-0.19.7 | ||
make CC=gcc VERSION=0.19.7 CONFDIR=/etc install | ||
tar -xf gplaces-0.19.8.tar | ||
cd gplaces-0.19.8 | ||
make CC=gcc VERSION=0.19.8 CONFDIR=/etc install | ||
sed -i 's/^Categories=.*/Categories=X-Internet-utility;/' /usr/local/share/applications/gplaces.desktop | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
9d0d23506d2e8544f26862a4fb2a938e8fe45349509a741f4647f7e940cd4571 gplaces-0.19.7.tar | ||
f3c81213022cc2f37e05811d14ac03322fa871eb832b63a59b8875151b42ce6d gplaces-0.19.8.tar |