diff options
author | Dimitris Kiziridis | 2020-05-12 18:22:12 +0300 |
---|---|---|
committer | Dimitris Kiziridis | 2020-05-12 18:22:12 +0300 |
commit | b0f5414f66e1e2b7ac845d5582dcbada8d38c4e4 (patch) | |
tree | 88fe436aa6c4ec484e9557385d387308b732e252 | |
parent | 6a4172077e82f1e67e22b4e7fa9ccfeb2d1fb7fe (diff) | |
download | aur-b0f5414f66e1e2b7ac845d5582dcbada8d38c4e4.tar.gz |
sanitize pkgbuild
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 11 insertions, 5 deletions
@@ -6,8 +6,10 @@ pkgbase = gifgen arch = x86_64 license = MIT depends = ffmpeg - source = https://github.com/lukechilds/gifgen/archive/1.1.2.tar.gz - md5sums = 2805fd101b71c19d7dca7cfb367ed29b + source = gifgen-1.1.2.tar.gz::https://github.com/lukechilds/gifgen/archive/1.1.2.tar.gz + source = LICENSE::https://raw.githubusercontent.com/lukechilds/gifgen/master/LICENSE + sha256sums = 95f69c63158315ad869ff36611026cce1a7d03f8c84716b1c21a44e71e8d6aee + sha256sums = f23faa8280084d44d2282a44d142fa439fed491cb52f367a8fedb8f1f17ed511 pkgname = gifgen @@ -8,10 +8,14 @@ arch=('x86_64') url="https://github.com/lukechilds/gifgen" license=('MIT') depends=('ffmpeg') -source=("${url}/archive/${pkgver}.tar.gz") -md5sums=('2805fd101b71c19d7dca7cfb367ed29b') +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz" + 'LICENSE::https://raw.githubusercontent.com/lukechilds/gifgen/master/LICENSE') +sha256sums=('95f69c63158315ad869ff36611026cce1a7d03f8c84716b1c21a44e71e8d6aee' + 'f23faa8280084d44d2282a44d142fa439fed491cb52f367a8fedb8f1f17ed511') package() { - install -Dm755 ${srcdir}/${pkgname}-${pkgver}/gifgen "${pkgdir}/usr/bin/gifgen" + install -Dm755 "${srcdir}/${pkgname}-${pkgver}/gifgen" "${pkgdir}/usr/bin/gifgen" + install -Dm644 "${srcdir}/${pkgname}-${pkgver}/README.md" -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm644 "${srcdir}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}" } # vim:set ts=2 sw=2 et:
\ No newline at end of file |