Skip to content

Instantly share code, notes, and snippets.

@klemens
Created June 9, 2018 15:16
Show Gist options
  • Save klemens/55bd8bb400f09e8f72e29000c8ea838a to your computer and use it in GitHub Desktop.
Save klemens/55bd8bb400f09e8f72e29000c8ea838a to your computer and use it in GitHub Desktop.
diff --git a/PKGBUILD b/PKGBUILD
index 9a0f799..945711c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=fdroidserver
pkgver=1.0.6
epoch=2
-pkgrel=1
+pkgrel=2
pkgdesc="F-Droid repository management tools"
url="https://gitlab.com/fdroid/$pkgname"
license=('GPL3')
@@ -41,8 +41,7 @@ package() {
python setup.py compile_catalog
python setup.py bdist_egg
- python setup.py install --root="$pkgdir/" --optimize=1 --install-data="/tmp"
- # rm -rf "$pkgdir/tmp"
+ python setup.py install --root="$pkgdir/" --optimize=1 --install-data="/usr"
mkdir -p "$pkgdir/usr/bin"
install "fdroid" "$pkgdir/usr/bin"
@@ -50,7 +49,5 @@ package() {
install -D completion/bash-completion "$pkgdir/usr/share/bash-completion/completions/fdroidserver"
- install -D "examples/config.py" "$pkgdir/usr/share/doc/$pkgname/examples/config.py"
- install -D "examples/fdroid-icon.png" "$pkgdir/usr/share/doc/$pkgname/examples/fdroid-icon.png"
mkdir -p "$pkgdir/opt/android-sdk/tools"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment