diff options
author | Leonidas P | 2021-12-15 18:28:41 +0200 |
---|---|---|
committer | Leonidas P | 2021-12-15 18:28:41 +0200 |
commit | c0859948cd7a271be14cfd84dd4920d4957a0cc8 (patch) | |
tree | b31775c840cec6929a27ab6ac890847688123197 | |
parent | e60c3b1ce0894304e55bcd5d0259a632e981fb25 (diff) | |
download | aur-c0859948cd7a271be14cfd84dd4920d4957a0cc8.tar.gz |
Use new git tree
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 29 | ||||
-rw-r--r-- | lsmmc.patch | 13 |
4 files changed, 23 insertions, 38 deletions
@@ -1,21 +1,18 @@ pkgbase = mmc-utils-git pkgdesc = Userspace tools for MMC/SD devices - pkgver = aef913e + pkgver = a1b233c pkgrel = 1 - url = https://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git - arch = arm - arch = armv6h - arch = armv7h - arch = aarch64 + url = https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git arch = x86_64 arch = i686 + arch = aarch64 + arch = armv7h + arch = armv6h license = GPL makedepends = git - makedepends = make provides = mmc-utils conflicts = mmc-utils - source = git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git + source = git://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git sha256sums = SKIP pkgname = mmc-utils-git - diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..05c6d4d4c97b --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!.SRCINFO +!PKGBUILD @@ -1,34 +1,31 @@ -# Maintainer: Leo Papadakos <jpegxguy@outlook.com> +# Maintainer: Leonidas P. <jpegxguy at outlook dot com> # Contributor: Vincent Bernardoff <vb AT luminar.eu.org> pkgname=mmc-utils-git -pkgver=aef913e +pkgver=a1b233c pkgrel=1 pkgdesc="Userspace tools for MMC/SD devices" -arch=(arm armv6h armv7h aarch64 x86_64 i686) -url="https://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git" +arch=('x86_64' 'i686' 'aarch64' 'armv7h' 'armv6h') +url="https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git" license=('GPL') -depends=() -makedepends=('git' 'make') +makedepends=('git') provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") -install= -source=('git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git') -noextract=() +source=('git://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git') sha256sums=('SKIP') pkgver() { - cd "$srcdir/${pkgname%-git}" - git describe --always --dirty --tags | sed -e 's/-/./g' + cd "$srcdir/${pkgname%-git}" + git describe --always --dirty --tags | sed -e 's/-/./g' } build() { - cd "${pkgname%-git}" - make all + cd "$srcdir/${pkgname%-git}" + make all } package() { - cd "${pkgname%-git}" - make DESTDIR="$pkgdir/" prefix=/usr install - install -D man/mmc.1 "$pkgdir/usr/share/man/man1/mmc.1" + cd "$srcdir/${pkgname%-git}" + make DESTDIR="$pkgdir/" prefix=/usr install + install -D man/mmc.1 "$pkgdir/usr/share/man/man1/mmc.1" } diff --git a/lsmmc.patch b/lsmmc.patch deleted file mode 100644 index 1ab06ce0b2a4..000000000000 --- a/lsmmc.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/lsmmc.c b/lsmmc.c -index c4faa00..0f748cd 100644 ---- a/lsmmc.c -+++ b/lsmmc.c -@@ -353,7 +353,7 @@ char *read_file(char *name) - line[strlen(line) - 1] = '\0'; - - while (isspace(line[0])) -- strncpy(&line[0], &line[1], sizeof(line)); -+ memmove(&line[0], &line[1], sizeof(line) - 1); - - return strdup(line); - } |