Skip to content

Instantly share code, notes, and snippets.

@poqudrof poqudrof/PKGBUILD
Created Jun 1, 2018

Embed
What would you like to do?
Build Cura by Dagoma - arch linux x86_64
backup=()
options=()
install=
changelog=
source=("https://dist.dagoma.fr/get/zip/CuraByDagoma/1520506579/58228cce5bbdcf764b7116850956f1e5")
noextract=()
md5sums=()
validpgpkeys=()
prepare() {
mv 58228cce5bbdcf764b7116850956f1e5 cura.zip
unzip cura.zip
tar xzf CuraByDagoma_amd64.tar.gz
}
build() {
cd .
}
check() {
cd .
}
package() {
cd CuraByDagoma-archive_amd64/
## Desktop
mkdir -p $pkgdir/usr/share/applications/
cp curabydago.desktop $pkgdir/usr/share/applications/
mkdir -p $pkgdir/usr/share/curabydago
mv curabydago $pkgdir/usr/share/
echo "/usr/bin/python2.7 /usr/share/curabydago/cura.py" > curabydago
chmod +x curabydago
mkdir -p $pkgdir/usr/bin/
mv curabydago $pkgdir/usr/bin/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.