diff options
author | Maxim Andersson | 2016-02-20 10:40:36 +0100 |
---|---|---|
committer | Maxim Andersson | 2016-02-20 10:40:36 +0100 |
commit | 0c2fa12efa8613945c927de8a157d63961c085a9 (patch) | |
tree | dbf6a70d185b5bc9a212704b30793e7b7723b89f | |
download | aur-0c2fa12efa8613945c927de8a157d63961c085a9.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d0ac0aca80ba --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +# Generated by mksrcinfo v8 +# Sat Feb 20 09:40:22 UTC 2016 +pkgbase = abricotine-bin + pkgdesc = A markdown editor for desktop + pkgver = 0.2.2 + pkgrel = 1 + url = http://abricotine.brrd.fr + arch = i686 + arch = x86_64 + license = GPL3 + provides = abricotine + conflicts = abricotine + source_i686 = https://github.com/brrd/Abricotine/releases/download/0.2.2/Abricotine-linux-ia32.zip + sha256sums_i686 = be91a67d6a7b6c51963d0723e5464c2b350d23278028161f004b76748e387e60 + source_x86_64 = https://github.com/brrd/Abricotine/releases/download/0.2.2/Abricotine-linux-x64.zip + sha256sums_x86_64 = db4189d97dabee6f9394338a104f1ddeb169c5f80bf8afdea0dbe80c209cad08 + +pkgname = abricotine-bin + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f3aebf042cee --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Maxim Andersson <thesilentboatman@gmail.com> + +pkgname=abricotine-bin +_binname=Abricotine +pkgver=0.2.2 +pkgrel=1 +pkgdesc="A markdown editor for desktop" +arch=('i686' 'x86_64') +url="http://abricotine.brrd.fr" +license=('GPL3') +provides=('abricotine') +conflicts=('abricotine') +source_i686=("https://github.com/brrd/${_binname}/releases/download/${pkgver}/${_binname}-linux-ia32.zip") +source_x86_64=("https://github.com/brrd/${_binname}/releases/download/${pkgver}/${_binname}-linux-x64.zip") +sha256sums_i686=('be91a67d6a7b6c51963d0723e5464c2b350d23278028161f004b76748e387e60') +sha256sums_x86_64=('db4189d97dabee6f9394338a104f1ddeb169c5f80bf8afdea0dbe80c209cad08') + +package() { + cd "${srcdir}/${_binname}-linux-"* + + install -d "${pkgdir}/opt/${_binname,,}" + cp -ra * "${pkgdir}/opt/${_binname,,}" + + install -d "${pkgdir}/usr/bin" + ln -s "/opt/${_binname,,}/${_binname}" "${pkgdir}/usr/bin/${_binname,,}" +} + +# vim:set ts=2 sw=2 et: |