diff options
author | aksr | 2016-05-28 13:19:43 +0200 |
---|---|---|
committer | aksr | 2016-05-28 13:19:43 +0200 |
commit | 43a6ec5e5a9f89fc3f76e8369e9afdcd930fb7e8 (patch) | |
tree | 4803c5f9c9bb8630700ee7508d7d2b8dc6dc8142 | |
download | aur-43a6ec5e5a9f89fc3f76e8369e9afdcd930fb7e8.tar.gz |
Start.
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | PKGBUILD | 43 |
2 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e85bd1e78ef2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,24 @@ +# Generated by mksrcinfo v8 +# Sat May 28 11:19:43 UTC 2016 +pkgbase = lsd2dsl-git + pkgdesc = ABBYY Lingvo dictionaries decompiler, supports the Lingvo x5 and x6 formats. + pkgver = 0.3.0.r1.g95b90ae + pkgrel = 1 + url = https://github.com/nongeneric/lsd2dsl + arch = i686 + arch = x86_64 + license = unknown + makedepends = git + makedepends = cmake + depends = libzip + depends = boost + depends = qt5-base + depends = libvorbis + depends = libsndfile + provides = lsd2dsl + conflicts = lsd2dsl + source = lsd2dsl-git::git+https://github.com/nongeneric/lsd2dsl.git + md5sums = SKIP + +pkgname = lsd2dsl-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5c0ca9659f42 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: aksr <aksr at t-com dot me> +pkgname=lsd2dsl-git +pkgver=0.3.0.r1.g95b90ae +pkgrel=1 +epoch= +pkgdesc="ABBYY Lingvo dictionaries decompiler, supports the Lingvo x5 and x6 formats." +arch=('i686' 'x86_64') +url="https://github.com/nongeneric/lsd2dsl" +license=('unknown') +groups=() +depends=('libzip' 'boost' 'qt5-base' 'libvorbis' 'libsndfile') +makedepends=('git' 'cmake') +optdepends=() +checkdepends=() +provides=('lsd2dsl') +conflicts=('lsd2dsl') +replaces=() +backup=() +options=() +changelog= +install= +source=("$pkgname::git+https://github.com/nongeneric/lsd2dsl.git") +noextract=() +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/$pkgname" + git describe --tags | sed -E 's/([^-]*-g)/r\1/;s/-/./g;s/^v//' +} + +build() { + cd "$srcdir/$pkgname" + cmake . -DCMAKE_RELEASE=TRUE + make +} + +package() { + cd "$srcdir/$pkgname" + install -Dm755 lsd2dsl $pkgdir/usr/bin/lsd2dsl + install -m755 qtgui/lsd2dsl-qtgui $pkgdir/usr/bin/lsd2dsl-qtgui + install -Dm644 README.md $pkgdir/usr/share/doc/${pkgname%-*}/README.md +} + |