diff options
author | Phillip Schichtel | 2023-11-05 18:22:06 +0100 |
---|---|---|
committer | Phillip Schichtel | 2023-11-05 18:22:06 +0100 |
commit | d88ea5f1e9f36f61e6ecb95a28ce32e8ca784aba (patch) | |
tree | 5ab77d4616e36360ecfc4dd5ef28fe0b48780363 | |
parent | 7047bbd33a2e1de85f2869e3fd8950d74568989b (diff) | |
download | aur-d88ea5f1e9f36f61e6ecb95a28ce32e8ca784aba.tar.gz |
switch to git-based source with explicit commit
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 6 insertions, 6 deletions
@@ -7,7 +7,7 @@ pkgbase = can-utils arch = armv6h license = GPL2 conflicts = can-utils-git - source = can-utils-2023.03.tar.gz::https://github.com/linux-can/can-utils/archive/v2023.03.tar.gz - sha256sums = 2790dfb57fe3ec22b6fd512838c6480c39f7c9ae193e59f1ae01221216505a7e + source = git+https://github.com/linux-can/can-utils.git#commit=cfe41963f3425e9adb01a70cfaddedf5e5982720 + sha256sums = SKIP pkgname = can-utils @@ -10,17 +10,17 @@ arch=('x86_64' 'armv6h') url="https://github.com/linux-can/can-utils" license=('GPL2') conflicts=("can-utils-git") -source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") -sha256sums=('2790dfb57fe3ec22b6fd512838c6480c39f7c9ae193e59f1ae01221216505a7e') +source=("git+https://github.com/linux-can/can-utils.git#commit=cfe41963f3425e9adb01a70cfaddedf5e5982720") +sha256sums=('SKIP') build() { - cd ${pkgname}-${pkgver} + cd can-utils ./autogen.sh ./configure --prefix=/usr make } package() { - cd ${pkgname}-${pkgver} + cd can-utils make DESTDIR="$pkgdir/" install } |