diff options
author | Cullen | 2020-09-10 14:10:37 -0400 |
---|---|---|
committer | Cullen | 2020-09-10 14:10:37 -0400 |
commit | ad607439acba6fda48e5fa5596da9c3ef767ffd8 (patch) | |
tree | 4e978b37c3119efd494639ee2054040a0ee2474f | |
parent | 46f5aaa22bcca2454cd45ea85672cdc2341b2d8b (diff) | |
download | aur-ad607439acba6fda48e5fa5596da9c3ef767ffd8.tar.gz |
Cleaner package function
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 3 insertions, 5 deletions
@@ -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 @@ -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}" } |