[arch-commits] Commit in shake/repos (3 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 16:05:07 UTC 2020


    Date: Tuesday, July 7, 2020 @ 16:05:06
  Author: felixonmars
Revision: 659104

archrelease: copy trunk to community-staging-x86_64

Added:
  shake/repos/community-staging-x86_64/
  shake/repos/community-staging-x86_64/PKGBUILD
    (from rev 659101, shake/trunk/PKGBUILD)
  shake/repos/community-staging-x86_64/shake.install
    (from rev 659102, shake/trunk/shake.install)

---------------+
 PKGBUILD      |   30 ++++++++++++++++++++++++++++++
 shake.install |    7 +++++++
 2 files changed, 37 insertions(+)

Copied: shake/repos/community-staging-x86_64/PKGBUILD (from rev 659101, shake/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 16:05:06 UTC (rev 659104)
@@ -0,0 +1,30 @@
+# Maintainer : Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor : Allan McRae <allan at archlinux.org>
+# Contributor: Julien MISCHKOWITZ <wain at archlinux.fr>
+
+pkgname=shake
+pkgver=1.0
+pkgrel=3
+pkgdesc="Userspace defragmenter that can be run while system is in use"
+arch=('x86_64')
+url="https://vleu.net/shake/"
+license=('GPL3')
+depends=('attr')
+makedepends=('cmake' 'help2man')
+install=$pkgname.install
+source=($pkgname-$pkgver.tar.gz::https://github.com/unbrice/shake/archive/v$pkgver.tar.gz)
+sha512sums=('f73601ebf37ac934b2cfb5bcedd530e38bd6873615e80eae01c690bf935ed3924abb1d06fb31c46397b5804d47a36584ac5e11b4c7142b46e570ddbf3abe1775')
+
+build() {
+  cd "${srcdir}"/${pkgname}-${pkgver}/build
+
+  cmake -DCMAKE_BUILD_TYPE=Release \
+        -DCMAKE_INSTALL_PREFIX=/usr ..
+  make
+}
+
+package() {
+  cd "${srcdir}"/${pkgname}-${pkgver}/build
+
+  make DESTDIR="${pkgdir}" install
+}

Copied: shake/repos/community-staging-x86_64/shake.install (from rev 659102, shake/trunk/shake.install)
===================================================================
--- community-staging-x86_64/shake.install	                        (rev 0)
+++ community-staging-x86_64/shake.install	2020-07-07 16:05:06 UTC (rev 659104)
@@ -0,0 +1,7 @@
+post_install() {
+  echo "==> shake works faster if you mount your partions with the \"user_xattr\" option"
+}
+
+post_upgrade() {
+  post_install
+}



More information about the arch-commits mailing list