diff options
author | Massimiliano Torromeo | 2014-05-28 12:29:15 +0200 |
---|---|---|
committer | Massimiliano Torromeo | 2014-05-28 12:29:15 +0200 |
commit | eb6672eb276069849a86cc306f28a3e30b72ff45 (patch) | |
tree | 36564d81f277e71c1ceaabba747bdf473541c2ed | |
download | aur-eb6672eb276069849a86cc306f28a3e30b72ff45.tar.gz |
Create package for areca's cli tools
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c4bd55c8d31b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = arcctl + pkgdesc = CLI tools to manage Areca's ARC11xx/ARC12xx/ARC16xx/ARC18xx RAID controllers + pkgver = 1.14.2 + pkgrel = 1 + url = http://www.areca.com.tw/support/s_linux/linux.htm + arch = i686 + arch = x86_64 + license = custom + source = http://www.areca.us/support/s_linux/cli/linuxcli_V1.14.2_140528.zip + sha256sums = ee7dc5a300c3e4eaf47c80a9987a8842405d3da8735e78e9c294dad725254b26 + +pkgname = arcctl + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..394c0357cf0b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +# $Id: PKGBUILD 111935 2014-05-27 07:39:44Z mtorromeo $ +# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com> + +pkgname=arcctl +pkgver=1.13.0 +_buildver=131028 +pkgrel=1 +pkgdesc="CLI tools to manage ARC11xx/ARC12xx/ARC16xx/ARC18xx RAID controllers" +arch=('i686' 'x86_64') +url="http://www.areca.com.tw/support/s_linux/linux.htm" +license=('custom') +source=(http://www.areca.us/support/s_linux/cli/linuxcli_V${pkgver}_${_buildver}.zip) +sha256sums=('55855d707747d9457ee5aef71cbf72cdae905df4c5cc071105f11ec0fbda4402') + +package() { + if [ $CARCH == x86_64 ]; then + install -Dm755 linuxcli_V${pkgver}_${_buildver}/x86_64/cli64 "$pkgdir"/usr/bin/arcctl + else + install -Dm755 linuxcli_V${pkgver}_${_buildver}/i386/cli32 "$pkgdir"/usr/bin/arcctl + fi +} |