Package Details: newflasher-git r198.a4c1fdd-1

Git Clone URL: https://aur.archlinux.org/newflasher-git.git (read-only, click to copy)
Package Base: newflasher-git
Description: This experimental software allows you to flash firmwares acquired through XperiFirm to Sony phones including and newer than the XZ Premium.
Upstream URL: https://forum.xda-developers.com/crossdevice-dev/sony/progress-newflasher-xperia-command-line-t3619426
Licenses: MIT
Submitter: gouster4
Maintainer: Takumi
Last Packager: Takumi
Votes: 2
Popularity: 0.000010
First Submitted: 2020-03-29 16:29 (UTC)
Last Updated: 2024-04-29 05:33 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

Takumi commented on 2023-02-14 11:16 (UTC)

@FabioLolix Thank you, I updated this package

FabioLolix commented on 2023-01-02 14:49 (UTC)

Hello, for pkgver() please use printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" (git without tags from https://wiki.archlinux.org/title/VCS_package_guidelines#Git)

behonest commented on 2022-10-01 11:30 (UTC)

I also couldn't build using this. It actually builds without pacman: just clone and run make (see readme.md).

I modified PKGBUILD to the following. But then I removed it and build manually.


# Maintainer: Pavel Horniak <gouster4@gmail.com>
pkgname=newflasher-git
pkgver=55
pkgrel=1
pkgdesc='This experimental software allows you to flash firmwares acquired through XperiFirm to Sony phones including and newer than the XZ Premium.'
arch=('x86_64')
license=('MIT')
url="https://forum.xda-developers.com/crossdevice-dev/sony/progress-newflasher-xperia-command-line-t3619426"
depends=('zlib' 'expat')
source=(git+https://github.com/munjeni/newflasher)
md5sums=('SKIP')
makedepends=('git')

pkgver() {
  cd "${_pkgname}"
  echo 55
}

build() {
    cd "$srcdir"/newflasher
    make
}

package(){
  # Moving everything to pkg/.
  mkdir "$pkgdir"/usr "$pkgdir"/usr/bin
  install -Dm755 "newflasher/newflasher" "${pkgdir}/usr/bin/newflasher"
}

drws commented on 2022-08-07 23:36 (UTC)

The PKGBUILD needs a fix (protocol fix and a new repo URL):

source=(git+https://github.com/munjeni/newflasher)

Also I second @dreieck's request regarding versioning.

dreieck commented on 2022-02-23 13:31 (UTC)

Can you re-upload this package with a $pkgver set to a number which follows the current versioning scheme (instead of master)? A set version number in the AUR makes it better compatible for automatic updates e.g. with yay.

Thanks for maintaining!

gardenappl commented on 2020-12-11 13:37 (UTC)

@ainola newflasher.c appears to be use MIT license (https://github.com/newflasher/newflasher/blob/master/newflasher.c)

ainola commented on 2020-10-25 00:15 (UTC)

Hi, gouster. Since this is a -git package, there should be a pkgver() section. See https://wiki.archlinux.org/index.php/VCS_package_guidelines#The_pkgver()_function for more details.

I also do not see any license indicating GPL licensing. As far as I can tell, it does not contain any license at all. See https://wiki.archlinux.org/index.php/PKGBUILD#license for more details.

gouster4 commented on 2020-08-08 11:12 (UTC) (edited on 2020-08-08 11:19 (UTC) by gouster4)

@MartinX3, any decent AUR helper has an option to update -git packages that have new commits in source (github in this case).

MartinX3 commented on 2020-08-08 10:17 (UTC)

I'm mission versioning here for an update notification

gouster4 commented on 2020-08-01 19:58 (UTC)

Thanx for your help. I will fix it on all my packages soon.