summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Plysyuk2016-03-31 23:48:10 +0300
committerArtur Plysyuk2016-03-31 23:48:10 +0300
commit2ecf7ca6867c7ad8c17262a937960a4fb7b61818 (patch)
treeef755d29a5a433428e800b858af70244ba326b30
downloadaur-2ecf7ca6867c7ad8c17262a937960a4fb7b61818.tar.gz
first version
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD34
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..3dad2a8f10b4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = litetran-git
+ pkgdesc = The powerful translator on Qt5 - GIT version
+ pkgver = 1.2.82.gc9cd6d2
+ pkgrel = 1
+ url = https://bitbucket.org/gfarniev/litetran
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = cmake
+ makedepends = git
+ depends = qt5-base
+ depends = qt5-multimedia
+ depends = qt5-tools
+ depends = qt5-x11extras
+ provides = litetran
+ conflicts = litetran
+ source = litetran::git+https://bitbucket.org/gfarniev/litetran.git
+ sha1sums = SKIP
+
+pkgname = litetran-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..1a5e11779088
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Georgy Farniev <georgy.farniev@gmail.com>
+
+pkgname=litetran-git
+pkgver=1.2.82.gc9cd6d2
+pkgrel=1
+pkgdesc="The powerful translator on Qt5 - GIT version"
+arch=("i686" "x86_64")
+url="https://bitbucket.org/gfarniev/litetran"
+license=('GPL3')
+depends=('qt5-base' 'qt5-multimedia' 'qt5-tools' 'qt5-x11extras')
+makedepends=('cmake' 'git')
+conflicts=('litetran')
+provides=('litetran')
+source=(litetran::git+https://bitbucket.org/gfarniev/litetran.git)
+sha1sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/litetran"
+ git describe --always | sed 's|-|.|g'
+}
+
+build() {
+ cd "${srcdir}/litetran"
+ cmake . \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+
+ make
+}
+
+package(){
+ cd "${srcdir}/litetran"
+ make install DESTDIR=${pkgdir}
+}