diff options
author | Gonçalo Camelo Neves Pereira | 2018-02-15 12:05:25 +0000 |
---|---|---|
committer | Gonçalo Camelo Neves Pereira | 2018-02-15 12:05:25 +0000 |
commit | b5a5f2abe921dfc1287ea4ec13b030a09448792a (patch) | |
tree | 59585943d6c13f599a3f2dcaaac2124bcbe7ace5 | |
download | aur-b5a5f2abe921dfc1287ea4ec13b030a09448792a.tar.gz |
first attempt
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8d0750cf607a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = can-utils + pkgdesc = Linux-CAN / SocketCAN user space applications + pkgver = 2018.02.0 + pkgrel = 1 + url = https://github.com/linux-can/can-utils + arch = any + license = GPLv2 + makedepends = git + makedepends = autoconf + makedepends = libtool + provides = can-utils + conflicts = can-utils-git + source = https://github.com/linux-can/can-utils/archive/v2018.02.0.tar.gz + sha256sums = SKIP + +pkgname = can-utils + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f4230c4f72e0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Gonçalo Camelo Neves Pereira <goncalo_pereira@outlook.pt> + +pkgname=can-utils +pkgver=2018.02.0 +_pkgname=can-utils-${pkgver} +pkgrel=1 +pkgdesc="Linux-CAN / SocketCAN user space applications" +arch=('any') +url="https://github.com/linux-can/can-utils" +license=('GPLv2') +makedepends=("git" "autoconf" "libtool") +provides=("can-utils") +conflicts=("can-utils-git") +source=("https://github.com/linux-can/can-utils/archive/v2018.02.0.tar.gz") +sha256sums=('SKIP') + +build() { + cd "${srcdir}" + tar -xzf v2018.02.0.tar.gz + pwd + cd "${_pkgname}" + ./autogen.sh + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${_pkgname}" + make install +} |