summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Scheibner2018-04-18 12:44:39 +0200
committerSebastian Scheibner2018-04-18 12:46:30 +0200
commitdce2dc6b1b7d0ddac2be8a22d542ede28f7e0758 (patch)
tree910e7aba7851e2ec79f1230c90045e50ee36cf5e
downloadaur-dce2dc6b1b7d0ddac2be8a22d542ede28f7e0758.tar.gz
Initial commit
-rw-r--r--.SRCINFO13
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD22
3 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e46a02e5cc4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = babeledit
+ pkgdesc = Translation editor for web apps
+ pkgver = 1.1.0
+ pkgrel = 1
+ url = https://www.codeandweb.com/babeledit/download
+ arch = x86_64
+ license = custom
+ depends = hicolor-icon-theme
+ source = https://cdn.codeandweb.com/download/babeledit/1.1.0/BabelEdit-1.1.0.deb
+ sha256sums = c2239041874d71b84638b852fe4d02fd4ec8a3e296bdd62dd36c2d141dbd9516
+
+pkgname = babeledit
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..951f4bc5695
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+/pkg/
+/src/
+*.deb
+*.pkg.tar.xz
+*.log
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d3bc7f2024a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: asamk <asamk@gmx.de>
+
+pkgname=babeledit
+pkgver=1.1.0
+pkgrel=1
+pkgdesc="Translation editor for web apps"
+arch=('x86_64')
+url="https://www.codeandweb.com/babeledit/download"
+license=('custom')
+depends=('hicolor-icon-theme')
+optdepends=()
+source=("https://cdn.codeandweb.com/download/babeledit/${pkgver}/BabelEdit-${pkgver}.deb")
+sha256sums=('c2239041874d71b84638b852fe4d02fd4ec8a3e296bdd62dd36c2d141dbd9516')
+
+package() {
+ bsdtar -O -xf "BabelEdit-${pkgver}".deb data.tar.xz | bsdtar -C "${pkgdir}" -xJf -
+
+ # Move license
+ install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
+ mv "${pkgdir}/usr/share/babeledit/documents/LicenseAgreement.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ ln -s "/usr/share/licenses/${pkgname}/LICENSE" "${pkgdir}/usr/share/babeledit/documents/LicenseAgreement.txt"
+}