diff options
author | pohl7589 | 2017-09-30 21:16:47 +0200 |
---|---|---|
committer | pohl7589 | 2017-09-30 21:31:47 +0200 |
commit | 0754b49f59a9e97f02e5db2dfa8dcd334da4a8ce (patch) | |
tree | 0ab10a01994fe9581436073aefcc02bef661fad2 /PKGBUILD | |
download | aur-0754b49f59a9e97f02e5db2dfa8dcd334da4a8ce.tar.gz |
initial commit of arch package
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a86ae82e7ac6 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Alexander Pohl <alex at ahpohl dot com> +pkgname=convpot +pkgver=1.1.7 +pkgrel=1 +epoch= +pkgdesc="Convert potentiostat data to a SQLite database" +arch=('i686' 'x86_64') +url="https://github.com/ahpohl/convpot" +license=('MIT') +groups=() +depends=('unixodbc' 'mdbtools' 'sqlite3') +makedepends=('cmake' 'git') +checkdepends=() +optdepends=('plotpot: for plotting potentiostat data') +provides=() +conflicts=() +replaces=() +backup=() +options=() +install=convpot.install +changelog= +source=("$pkgname-$pkgver::git+https://github.com/ahpohl/convpot.git#tag=v${pkgver}") +noextract=() +sha256sums=('SKIP') +validpgpkeys=() + +prepare() { + cd "$pkgname-$pkgver" + cp cmake/CMakeLists.txt.linux CMakeLists.txt +} + +build() { + cd "$pkgname-$pkgver" + cmake -DCMAKE_INSTALL_PREFIX=/usr . + make +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} |