summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCullen2020-09-10 14:10:37 -0400
committerCullen2020-09-10 14:10:37 -0400
commitad607439acba6fda48e5fa5596da9c3ef767ffd8 (patch)
tree4e978b37c3119efd494639ee2054040a0ee2474f
parent46f5aaa22bcca2454cd45ea85672cdc2341b2d8b (diff)
downloadaur-ad607439acba6fda48e5fa5596da9c3ef767ffd8.tar.gz
Cleaner package function
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 3 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1541200899dc..ff1a879211d3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = colorpicker-ym1234-git
pkgdesc = A small tool for X11 that writes the color value on your screen at the cursor position to stdout, in RGB
pkgver = r16.b48e036
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/ym1234/colorpicker
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index d8da68d24559..79ab678e6f12 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_pkgname='colorpicker'
pkgname="${_pkgname}-ym1234-git"
pkgver=r16.b48e036
-pkgrel=1
+pkgrel=2
pkgdesc='A small tool for X11 that writes the color value on your screen at the cursor position to stdout, in RGB'
arch=('i686' 'x86_64')
url="https://github.com/ym1234/${_pkgname}"
@@ -26,7 +26,5 @@ build() {
}
package() {
- cd "$_pkgname"
- mkdir -m755 -p ${pkgdir}/usr/bin
- install -m777 "$_pkgname" ${pkgdir}/usr/bin/
+ install -Dm755 -t "${pkgdir}/usr/bin" "${_pkgname}/${_pkgname}"
}