aur/dfc update to 3.0.3

This commit is contained in:
Robin Hahling 2013-08-20 08:54:15 +02:00
parent bfbf1465a7
commit 7b8c309448
2 changed files with 8 additions and 12 deletions

View file

@ -1,31 +1,30 @@
# Maintainer: Rolinh <robinDOThahlingATgw-computingDOTnet> # Maintainer: Rolinh <robinDOThahlingATgw-computingDOTnet>
pkgname=dfc pkgname=dfc
pkgver=3.0.2 pkgver=3.0.3
pkgrel=1 pkgrel=3
pkgdesc="Display file system space usage using graphs and colors" pkgdesc="Display file system space usage using graphs and colors"
arch=('x86_64' 'i686') arch=('x86_64' 'i686')
url="http://projects.gw-computing.net/projects/dfc" url="http://projects.gw-computing.net/projects/dfc"
license=('BSD') license=('BSD')
depends=('glibc') depends=('glibc')
makedepends=('cmake') makedepends=('cmake' 'gettext')
provides=('dfc') provides=('dfc')
conflicts=('dfc-git') conflicts=('dfc-git')
source=(http://projects.gw-computing.net/attachments/download/68/${pkgname}-${pkgver}.tar.gz) source=(http://projects.gw-computing.net/attachments/download/78/${pkgname}-${pkgver}.tar.gz)
install='dfc.install' install='dfc.install'
md5sums=('ec26dba0a4efdbe8c520c045a9a05258') md5sums=('c4b2d554f6739502dd6d809966f8c616')
build() { build() {
cd ${pkgname}-${pkgver} cd "${srcdir}/${pkgname}-${pkgver}"
cmake . -DPREFIX=/usr -DSYSCONFDIR=/etc -DCMAKE_BUILD_TYPE=RELEASE cmake . -DPREFIX=/usr -DSYSCONFDIR=/etc -DCMAKE_BUILD_TYPE=RELEASE
make make
} }
package() { package() {
cd ${pkgname}-${pkgver} cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR=${pkgdir} install make DESTDIR="${pkgdir}" install
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
} }

View file

@ -2,6 +2,3 @@ post_install() {
echo 'Optional configuration file is located in /etc/xdg/dfc/' 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.' echo 'Copy it to ~/.config/dfc/ (create this folder if necessary) if you want to use it.'
} }
post_upgrade() {
post_install
}