summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitris Kiziridis2020-04-04 09:31:21 +0300
committerDimitris Kiziridis2020-04-04 09:31:21 +0300
commitde3ec9c5e940d1d2f559ccb1bf5484b8318e3031 (patch)
tree59f1cead7eeb20d6834199e77a3454a9bb58870a
parent5e5ec43d2fe2ffd2b7784c58f2d1ea289bd15d22 (diff)
downloadaur-de3ec9c5e940d1d2f559ccb1bf5484b8318e3031.tar.gz
sanitize pkgbuild
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD11
2 files changed, 8 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index edc6d7e76f5..55f4b819988 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
pkgbase = kitti3
pkgdesc = Kitty drop-down service for i3wm
pkgver = 0.2.4
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/LandingEllipse/kitti3
arch = any
- license = BSD3
+ license = BSD 3-Clause
depends = i3-wm
depends = kitty
- depends = python>=3.6
+ depends = python
depends = python-i3ipc
source = kitti3-0.2.4.tar.gz::https://github.com/LandingEllipse/kitti3/archive/v0.2.4.tar.gz
md5sums = f7c6b3032987d3a35a9776091fd9afa9
diff --git a/PKGBUILD b/PKGBUILD
index 604eea4a1f9..6e7a6cad2ed 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,17 +2,16 @@
pkgname=kitti3
pkgver=0.2.4
-pkgrel=1
+pkgrel=2
pkgdesc="Kitty drop-down service for i3wm"
arch=('any')
url="https://github.com/LandingEllipse/kitti3"
-license=('BSD3')
-depends=('i3-wm' 'kitty' 'python>=3.6' 'python-i3ipc')
+license=('BSD 3-Clause')
+depends=('i3-wm' 'kitty' 'python' 'python-i3ipc')
source=("$pkgname-$pkgver.tar.gz::${url}/archive/v${pkgver}.tar.gz")
md5sums=('f7c6b3032987d3a35a9776091fd9afa9')
package() {
- mkdir -p ${pkgdir}/usr/bin
- cp "$pkgname-$pkgver"/src/kitti3/main.py ${pkgdir}/usr/bin/kitti3
- chmod 755 ${pkgdir}/usr/bin/kitti3
+ install -Dm755 "$pkgname-$pkgver/src/kitti3/main.py" "${pkgdir}/usr/bin/kitti3"
+ install -Dm644 "$pkgname-$pkgver/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
} \ No newline at end of file