Skip to content
This repository was archived by the owner on Apr 11, 2018. It is now read-only.

Commit f8d4874

Browse files
committed
Actual Initial Commit
1 parent b907138 commit f8d4874

File tree

12 files changed

+1675
-0
lines changed

12 files changed

+1675
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
bin/
2+
tmp/

generate.sh

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
#!/bin/bash
2+
# https://github.com/fusion809/PKGBUILDs/releases
3+
4+
mkdir tmp
5+
cd tmp
6+
7+
echo "Downloading metadata..."
8+
{
9+
URL="https://www.github.com$(
10+
curl https://github.com/fusion809/PKGBUILDs/releases | \
11+
grep 'monodevelop' | \
12+
grep -o '<a href=['"'"'"][^"'"'"']*['"'"'"]' | \
13+
sed -e 's/^<a href=["'"'"']//' -e 's/["'"'"']$//' \
14+
)"
15+
} &> /dev/null
16+
17+
echo "Downloading MonoDevelop... ($URL)"
18+
wget -O monodevelop.tar.xz $URL &> /dev/null
19+
20+
echo "Extracting archive..."
21+
tar xf monodevelop.tar.xz
22+
23+
echo "Copying installer data..."
24+
25+
# Copy installer source
26+
mkdir installer
27+
cp -rf ../src/. installer
28+
29+
# Copy MonoDevelop binaries
30+
mkdir installer/MonoDevelop
31+
cp -rf usr/lib/monodevelop/. installer/MonoDevelop
32+
# Lets not include version control addin so that people don't ask me why it's not working...
33+
rm -rf installer/MonoDevelop/AddIns/VersionControl
34+
35+
# Copy MonoDevelop icon
36+
cp usr/share/icons/hicolor/scalable/apps/monodevelop.svg installer/monodevelop-stable.svg
37+
38+
echo "Building the Installer..."
39+
rm -f ../bin
40+
mkdir ../bin
41+
../makeself/makeself.sh installer/ ../bin/monodevelop.run "MonoDevelop .run installer" ./postinstall.sh
42+
43+
echo "Cleaning Up..."
44+
cd ..
45+
rm -rf tmp
46+
47+
echo "Done :)"

makeself/COPYING

Lines changed: 341 additions & 0 deletions
Large diffs are not rendered by default.

makeself/README

Lines changed: 307 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)