ソースを参照

Cleanup; Remove other distributions specific scripts

Edvinas Valatka 10 年 前
コミット
0be6b2ecd7
2 ファイル変更3 行追加8 行削除
  1. 1 1
      .SRCINFO
  2. 2 7
      PKGBUILD

+ 1 - 1
.SRCINFO

@@ -1,5 +1,5 @@
 # Generated by mksrcinfo v8
-# Thu Dec 17 03:59:44 UTC 2015
+# Thu Dec 17 05:32:40 UTC 2015
 pkgbase = seafile
 	pkgdesc = Seafile is an online file storage and collaboration tool
 	pkgver = 5.0.2

+ 2 - 7
PKGBUILD

@@ -109,15 +109,10 @@ package_seafile-server() {
   cp -r -p "${srcdir}/seafile-${pkgver}-server/scripts" \
     "${pkgdir}/usr/share/$pkgname/scripts"
 
-  # Remove win32-specific scripts
+  # Remove win32 and other distributions specific scripts
+  rm -rf "${pkgdir}/usr/share/$pkgname/scripts/build"
   rm -rf "${pkgdir}/usr/share/$pkgname/scripts/upgrade/win32"
 
-  # Workaround for strange behaviour in the Makefile, which
-  # installs python bindings in the package root directory,
-  # even though they were disabled
-  rm -rf "${pkgdir}/seaserv"
-  rm -rf "${pkgdir}/seafile"
-
   # Install systemd service
   install -D -m644 "${srcdir}/seafile-server@.service" \
     "${pkgdir}/usr/lib/systemd/system/seafile-server@.service"