diff options
author | Kookies | 2021-12-22 14:34:31 -0700 |
---|---|---|
committer | Kookies | 2021-12-22 14:34:31 -0700 |
commit | d18452981e6bc98f34c0dc46e13221901ca3128a (patch) | |
tree | aa33494c0f4e3c40bae380b438000483ae805d94 | |
parent | d89d0ea2c31c41abee731646015a02917158dcb2 (diff) | |
download | aur-d18452981e6bc98f34c0dc46e13221901ca3128a.tar.gz |
Fixed fetch url and cleaned up a bit
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 11 insertions, 12 deletions
@@ -1,18 +1,18 @@ pkgbase = libctru-git pkgdesc = Library for Nintendo 3DS homebrew development - pkgver = v2.0.1.10.g6360f4b + pkgver = v2.0.1.11.g5f13628 pkgrel = 1 epoch = 1 - url = https://github.com/smealum/ctrulib + url = https://github.com/devkitPro/libctru arch = any - license = custom: zlib + license = ZLIB makedepends = git depends = devkitARM provides = libctru conflicts = libctru options = !strip options = staticlibs - source = ctrulib::git://github.com/smealum/ctrulib + source = libctru::git+https://github.com/devkitPro/libctru md5sums = SKIP pkgname = libctru-git @@ -1,35 +1,34 @@ # Maintainer: Mateo <kookies@tutamail.com> pkgname=libctru-git -_gitname=ctrulib _libname=libctru -pkgver=v2.0.1.10.g6360f4b +pkgver=v2.0.1.11.g5f13628 pkgrel=1 epoch=1 pkgdesc="Library for Nintendo 3DS homebrew development" arch=('any') -url="https://github.com/smealum/ctrulib" -license=('custom: zlib') +url="https://github.com/devkitPro/libctru" +license=('ZLIB') depends=('devkitARM') makedepends=('git') provides=('libctru') conflicts=('libctru') -source=('ctrulib::git://github.com/smealum/ctrulib') +source=('libctru::git+https://github.com/devkitPro/libctru') md5sums=('SKIP') options=(!strip staticlibs) pkgver() { - cd "${srcdir}/${_gitname}" + cd "${srcdir}/${_libname}" git describe --long --tags | sed 's/([^-]*-g)/r1/;s/-/./g' } build() { source /etc/profile.d/devkit-env.sh - make -C "${srcdir}/${_gitname}/${_libname}" + make -C "${srcdir}/${_libname}/${_libname}" } package() { - cd "${srcdir}/${_gitname}" + cd "${srcdir}/${_libname}" export DEVKITPRO="${pkgdir}/opt/devkitpro" make -C "${_libname}" install |