summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolay Korotkiy2018-12-04 11:03:48 +0300
committerNikolay Korotkiy2018-12-04 11:03:48 +0300
commitccadd4b9588d9762949c8414377d6c8e14c60a9b (patch)
tree8ec100abe19c168335f0304ecd53ebfbe1495086
parentc1e92c0509724dd7d5a6c014dcd2827635bb2f34 (diff)
downloadaur-ccadd4b9588d9762949c8414377d6c8e14c60a9b.tar.gz
Minor fix
-rw-r--r--.SRCINFO4
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD7
3 files changed, 9 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5919a8fc49e5..6741523ce46d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by makepkg 5.1.1
-# Sun Oct 28 13:35:59 UTC 2018
+# Tue Dec 4 08:00:13 UTC 2018
pkgbase = keepass-fi
pkgdesc = Finnish locale for KeePass
pkgver = 2.40
- pkgrel = 1
+ pkgrel = 2
url = https://keepass.info/translations.html
arch = any
license = GPL2
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000000000000..ddbf503a410b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*.tar.*
+*.zip
+pkg
+src
diff --git a/PKGBUILD b/PKGBUILD
index 598afba9f52f..54db3d95c8df 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,17 +4,16 @@ _lname=Finnish
_lcode=fi
pkgname=${_pkgname,,}-${_lcode}
pkgver=2.40
-pkgrel=1
+pkgrel=2
pkgdesc="${_lname} locale for ${_pkgname}"
arch=(any)
license=('GPL2')
depends=("${_pkgname,,}>=${pkgver}")
provides=("${pkgname}=${pkgver}")
-url="https://keepass.info/translations.html"
+url='https://keepass.info/translations.html'
source=("https://downloads.sourceforge.net/${_pkgname,,}/${_pkgname}-${pkgver}-${_lname}.zip")
sha256sums=('b7de2f54afc6baeac621b08be0dfe079145c71730452a966eb64ff1a88c7bdcb')
package(){
- install -d 755 ${pkgdir}/usr/share/${_pkgname,,}/Languages
- install -m 644 ${srcdir}/${_lname}.lngx ${pkgdir}/usr/share/${_pkgname,,}/Languages
+ install -Dm644 ${_lname}.lngx ${pkgdir}/usr/share/${_pkgname,,}/Languages/${_lname}.lngx
}