diff options
author | Erich Eckner <git@eckner.net> | 2020-04-22 20:22:03 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-04-22 20:22:03 +0200 |
commit | 5c9d423684a8c8cb065b58e128fbd2f083754a50 (patch) | |
tree | 2517963992b0ece880162c965508280a489c92ee /vchanger | |
parent | 96fe18b00fced03a56d91e48157e60dcd0d90d01 (diff) | |
download | archlinuxewe-5c9d423684a8c8cb065b58e128fbd2f083754a50.tar.xz |
vchanger new
Diffstat (limited to 'vchanger')
-rw-r--r-- | vchanger/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/vchanger/PKGBUILD b/vchanger/PKGBUILD new file mode 100644 index 000000000..098f37649 --- /dev/null +++ b/vchanger/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Erich Eckner <arch at eckner dot net> + +pkgname=vchanger +pkgver=1.0.2 +pkgrel=1 +pkgdesc='disk-based virtual autochanger device for use with Bacula(TM) and bareos' +arch=('i486' 'i686' 'pentium4' 'x86_64') +url='https://sourceforge.net/projects/vchanger/' +license=('GPL') +source=("${pkgname}-${pkgver}.tar.gz::https://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz") +sha512sums=('10b44e83451359b0e6f064e73c00220af69290f6a4ec56a0e43c91112c098d93454fcf25b8ff45d468b2c7cc4f377ca1d503f5d7ed3709513a10755393c1c351') + +build() { + cd "$srcdir/$pkgname" + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/bin + + find "$srcdir/$pkgname" -name Makefile \ + -exec sed -i ' + s#\(= \$(libexecdir)\)/vchanger$#\1# + ' {} \; + + make +} + +package() { + cd "$srcdir/$pkgname" + make install DESTDIR="$pkgdir" +} |