summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Duck2016-09-28 22:00:39 -0700
committerJonathan Duck2016-09-28 22:00:39 -0700
commit26f2734fd2aadfe9188ae7e8e84d05fb575cef25 (patch)
tree6b5a731852ff949385cc594898655e369c41ce88
parentae87234d7a4deb9e08b503d4ce0cd817d467b80f (diff)
downloadaur-26f2734fd2aadfe9188ae7e8e84d05fb575cef25.tar.gz
Cleanup unused variables and lintian. Uses bsdtar. Remove build step.
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD25
2 files changed, 4 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f2af54389d6f..12045d292f98 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,9 @@
pkgbase = typora
pkgdesc = Typora will give you a seamless experience as both a reader and a writer.
pkgver = 0.9.19
- pkgrel = 2
+ pkgrel = 3
url = https://typora.io/
arch = x86_64
- license = Closed
source = https://typora.io/./linux/typora_0.9.19_amd64.deb
md5sums = 30b9881f6d698a5442dff96002d9d812
diff --git a/PKGBUILD b/PKGBUILD
index a5b196c820fb..8cb08717ecff 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,35 +1,16 @@
# Maintainer: Jonathan Duck <duckbrain30@gmail.com>
pkgname=typora
pkgver=0.9.19
-pkgrel=2
-epoch=
+pkgrel=3
pkgdesc="Typora will give you a seamless experience as both a reader and a writer."
arch=('x86_64')
filename="${pkgname}_${pkgver}_amd64.deb"
url="https://typora.io/"
-license=('Closed')
-groups=()
-depends=()
-makedepends=()
-checkdepends=()
-optdepends=()
-provides=()
-conflicts=()
-replaces=()
-backup=()
-options=()
-install=
-changelog=
source=("https://typora.io/./linux/$filename")
-noextract=()
md5sums=('30b9881f6d698a5442dff96002d9d812')
-validpgpkeys=()
-
-build() {
- ar x "$filename" data.tar.xz
-}
package() {
- tar xf data.tar.xz -C "$pkgdir"
+ bsdtar -xf data.tar.xz -C "$pkgdir/"
+ rm -rf "${pkgdir}"/usr/share/lintian/
chmod -R 755 "$pkgdir"
}