[arch-commits] Commit in dfc/repos/community-x86_64 (PKGBUILD PKGBUILD dfc.install)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sun May 24 02:06:57 UTC 2020
Date: Sunday, May 24, 2020 @ 02:06:57
Author: svenstaro
Revision: 632736
archrelease: copy trunk to community-x86_64
Added:
dfc/repos/community-x86_64/PKGBUILD
(from rev 632735, dfc/trunk/PKGBUILD)
Deleted:
dfc/repos/community-x86_64/PKGBUILD
dfc/repos/community-x86_64/dfc.install
-------------+
PKGBUILD | 70 ++++++++++++++++++++++++++++++----------------------------
dfc.install | 4 ---
2 files changed, 37 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-24 02:06:51 UTC (rev 632735)
+++ PKGBUILD 2020-05-24 02:06:57 UTC (rev 632736)
@@ -1,33 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Rolinh <robinDOThahlingATgw-computingDOTnet>
-
-pkgname=dfc
-pkgver=3.1.1
-pkgrel=2
-pkgdesc="Display file system space usage using graphs and colors"
-arch=('x86_64')
-url="http://projects.gw-computing.net/projects/dfc"
-license=('BSD')
-depends=('glibc')
-makedepends=('cmake' 'gettext')
-conflicts=('dfc-git')
-source=("https://github.com/Rolinh/dfc/archive/v${pkgver}.tar.gz")
-install='dfc.install'
-sha512sums=('0dded1824e6e6734214999f898d253fab760bb69b0f152b44e47b54b30c6ebcf4ac04cec44a37eb655548d4dbaef9328a6b383957b5b8fe6e20cb550d51d46e2')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- cmake . -DPREFIX=/usr -DSYSCONFDIR=/etc -DCMAKE_BUILD_TYPE=RELEASE
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make DESTDIR="${pkgdir}" install
-
- install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: dfc/repos/community-x86_64/PKGBUILD (from rev 632735, dfc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-05-24 02:06:57 UTC (rev 632736)
@@ -0,0 +1,37 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Rolinh <robinDOThahlingATgw-computingDOTnet>
+
+pkgname=dfc
+pkgver=3.1.1
+pkgrel=3
+pkgdesc="Display file system space usage using graphs and colors"
+arch=('x86_64')
+url="http://projects.gw-computing.net/projects/dfc"
+license=('BSD')
+depends=('glibc')
+makedepends=('cmake' 'gettext' 'ninja')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Rolinh/dfc/archive/v${pkgver}.tar.gz")
+sha512sums=('0dded1824e6e6734214999f898d253fab760bb69b0f152b44e47b54b30c6ebcf4ac04cec44a37eb655548d4dbaef9328a6b383957b5b8fe6e20cb550d51d46e2')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+
+ cmake \
+ -B build \
+ -G Ninja \
+ -DPREFIX=/usr \
+ -DSYSCONFDIR=/etc \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE
+ ninja -C build
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+
+ DESTDIR="${pkgdir}" ninja -C build install
+
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: dfc.install
===================================================================
--- dfc.install 2020-05-24 02:06:51 UTC (rev 632735)
+++ dfc.install 2020-05-24 02:06:57 UTC (rev 632736)
@@ -1,4 +0,0 @@
-post_install() {
- echo 'Optional configuration file is located in /etc/xdg/dfc/'
- echo 'Copy it to ~/.config/dfc/ (create this folder if necessary) if you want to use it.'
-}
More information about the arch-commits
mailing list