diff options
author | Weirch Sodora | 2015-08-14 13:25:10 +0800 |
---|---|---|
committer | Weirch Sodora | 2015-08-14 13:25:10 +0800 |
commit | 9315e2e527078048480b03479aadc2ef3c722318 (patch) | |
tree | 4f1891e0166d77d010af74f3939ca6c42b305b8a | |
download | aur-9315e2e527078048480b03479aadc2ef3c722318.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..23cc26374db9 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = upeditor + pkgdesc = Security plugin for UnionPay Online Pay + pkgver = 1.0 + pkgrel = 1 + url = https://www.95516.com/ + arch = i686 + arch = x86_64 + license = custom + depends = gcc-libs + depends = glibc + +pkgname = upeditor + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..eb5a4722506d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Weirch Sodora <sodora at gmail dot com> +pkgname=upeditor +_pkgname=UPEditor +pkgver=1.0 +pkgrel=1 +pkgdesc='Security plugin for UnionPay Online Pay' +arch=('i686' 'x86_64') +url='https://www.95516.com/' +depends=('gcc-libs' 'glibc') +license=('custom') +if [ "$CARCH" = "i686" ]; then + _installer="${_pkgname}-${pkgver}-Linux-x86-Install" + md5sums=('79bc96e93953f88591c214016e03ff42') + source=("https://user.95516.com/ctrl/${_pkgname}Linux_2.tar.gz") +elif [ "$CARCH" = "x86_64" ]; then + _installer="${_pkgname}-${pkgver}-Linux-x86_64-Install" + md5sums=('3610826fa7a4bcdc09a486007a028925') + source=("https://user.95516.com/ctrl/${_pkgname}Linux64_2.tar.gz") +fi + +build() { + cd "${srcdir}" + ./${_installer} --mode silent --prefix ${srcdir} --temp ${srcdir} +} + +package() { + install -D -m 644 "${srcdir}/libnpUPEditor.so" "${pkgdir}/usr/lib/mozilla/plugins/libnpUPEditor.so" +} + |