diff options
author | Tilman Blumenbach | 2015-09-17 23:42:52 +0200 |
---|---|---|
committer | Tilman Blumenbach | 2015-09-17 23:55:25 +0200 |
commit | c482b6572714511454e0858882f068e93d8a6792 (patch) | |
tree | b33192408c69f0f70db3e6d66955fa0089d553bb | |
parent | fda5ddc3a2c9b77a88491584496d7a7f057352d8 (diff) | |
download | aur-c482b6572714511454e0858882f068e93d8a6792.tar.gz |
Drop the dependency on unzip and let makepkg unpack the sources.
Marcel_K had the idea to use bsdtar instead of unzip to unpack the
sources, but we shouldn't even need to unpack them ourselves anyway
-- makepkg can do that for us (the reason for us doing this manually
in the first place was to work around the source archive being a
"zip bomb" [think tarbomb], but that isn't really a problem since
it is the only source file anyway).
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 1 insertions, 12 deletions
@@ -6,9 +6,7 @@ pkgbase = keepass-plugin-rpc install = keepass-plugin-rpc.install arch = any license = GPL - makedepends = unzip depends = keepass - noextract = keefox.zip source = keefox.zip::https://addons.mozilla.org/firefox/downloads/file/350852/keefox-1.5.3-tb+fx-linux.xpi?src=api md5sums = ae694ee51911f0a25f4435f3bd2d699e sha384sums = 4a010e987f29ba8f6a4a48eafa7c3392675689724f45ed205fea16d13b31deaf7832ee28ba3c7b31e257b87a1f24d98d @@ -7,25 +7,16 @@ arch=(any) url="http://keefox.org/" license=('GPL') depends=(keepass) -makedepends=(unzip) install="${pkgname}.install" -noextract=(keefox.zip) - -prepare() { - cd "$srcdir" - - unzip -qd keefox keefox.zip -} package() { - cd "$srcdir/keefox/deps" + cd "$srcdir/deps" install -m 644 -D KeePassRPC.plgx "${pkgdir}/usr/share/keepass/plugins/KeePassRPC.plgx" } _amo_id=306880 _amo_os=Linux -_amo_url_prefix="keefox.zip::" #@ #@ -------------------------------------------- #@ Lines below automatically added by update_pkgbuild.sh. |