summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorN. Izumi2015-06-11 13:56:06 +0800
committerN. Izumi2015-06-11 13:56:06 +0800
commit611360bed3571652b0e385d26ea66a80a5e92f4c (patch)
tree45bccf9a77bc6fba0424962d4d3d4850701df25d
downloadaur-611360bed3571652b0e385d26ea66a80a5e92f4c.tar.gz
initial
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD37
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8791e24105d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = dar
+ pkgdesc = A full featured command-line backup tool, short for Disk ARchive
+ pkgver = 2.4.17
+ pkgrel = 1
+ url = http://dar.linux.free.fr/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = doxygen
+ depends = libgcrypt
+ depends = zlib
+ depends = lzo
+ depends = bzip2
+ depends = attr
+ optdepends = perl: for running some samples
+ options = !libtool
+ backup = etc/darrc
+ source = http://downloads.sourceforge.net/sourceforge/dar/dar-2.4.17.tar.gz
+ sha1sums = b0a5b87ead362baf21190899d34766aa65d76bba
+
+pkgname = dar
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..349adaa0a08
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Contributor: Stefan J. Betz <info@stefan-betz.net>
+# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
+# Contributor: Aaron Schaefer <aaron@elasticdog.com>
+# Maintainer: N. Izumi
+pkgname=dar
+pkgver=2.4.17
+pkgrel=1
+pkgdesc='A full featured command-line backup tool, short for Disk ARchive'
+arch=('i686' 'x86_64')
+url='http://dar.linux.free.fr/'
+license=('GPL')
+depends=('libgcrypt' 'zlib' 'lzo' 'bzip2' 'attr')
+optdepends=('perl: for running some samples')
+makedepends=('doxygen')
+source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+backup=('etc/darrc')
+options=('!libtool')
+sha1sums=('b0a5b87ead362baf21190899d34766aa65d76bba')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ if [[ "${CARCH}" == x86_64 ]];then
+ EXTRA_OPTIONS="--enable-mode=64"
+ elif [[ "${CARCH}" == i686 ]];then
+ EXTRA_OPTIONS="--enable-mode=32"
+ fi
+ ./configure --prefix=/usr --sysconfdir=/etc --disable-dar-static --disable-static --disable-upx --disable-build-html ${EXTRA_OPTIONS}
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" pkgdatadir="/usr/share/doc/${pkgname}/html" install
+ install -d "${pkgdir}/usr/share/doc/${pkgname}"
+ install -pm644 AUTHORS ChangeLog NEWS README THANKS TODO "${pkgdir}/usr/share/doc/${pkgname}"
+ rm -rf "${pkgdir}/usr/share/doc/dar/html/man"
+}