diff options
author | Gavin Lloyd | 2017-10-19 17:34:54 -0700 |
---|---|---|
committer | Gavin Lloyd | 2017-10-19 17:34:54 -0700 |
commit | 44a39a389d75aaeedd67960fa9588388890a3433 (patch) | |
tree | deeaac0c2df50a56c09241078a5dbcf8e73dc808 | |
parent | 8a7b00f973a7c3c9f44bc2e052edec985dcf428e (diff) | |
download | aur-44a39a389d75aaeedd67960fa9588388890a3433.tar.gz |
Fix license and cleanup
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 18 insertions, 17 deletions
@@ -1,13 +1,13 @@ # Generated by mksrcinfo v8 -# Fri Feb 24 19:48:11 UTC 2017 +# Fri Oct 20 00:34:46 UTC 2017 pkgbase = fatelf-utils - pkgdesc = Utils for FatELF - Universal Binaries for Linux + pkgdesc = Utils for FatELF universal binaries for Linux pkgver = 111.5e7e594b70fa - pkgrel = 2 - url = https://www.icculus.org/fatelf/ + pkgrel = 3 + url = https://www.icculus.org/fatelf arch = i686 arch = x86_64 - license = GPL2 + license = custom makedepends = cmake source = hg+https://hg.icculus.org/icculus/fatelf sha256sums = SKIP @@ -1,36 +1,37 @@ # Maintainer: Gavin Lloyd <gavinhungry@gmail.com> -# Contributor: Archlive <http://archlive-pkg.googlecode.com> pkgname=fatelf-utils -_pkgname=fatelf pkgver=111.5e7e594b70fa -pkgrel=2 -pkgdesc='Utils for FatELF - Universal Binaries for Linux' +pkgrel=3 +pkgdesc='Utils for FatELF universal binaries for Linux' arch=('i686' 'x86_64') -url='https://www.icculus.org/fatelf/' -license=('GPL2') +url='https://www.icculus.org/fatelf' +license=('custom') makedepends=('cmake') source=('hg+https://hg.icculus.org/icculus/fatelf') sha256sums=('SKIP') pkgver() { - cd "${srcdir}/${_pkgname}" + cd "${srcdir}"/fatelf echo $(hg identify -n).$(hg identify -i) } build() { - cd "${srcdir}/${_pkgname}" + cd "${srcdir}"/fatelf CFLAGS+=" -O0" cmake . make } package() { - cd "${srcdir}/${_pkgname}" + cd "${srcdir}"/fatelf - sed -i "s|/usr/local|/usr|g" cmake_install.cmake + sed -i 's|/usr/local|/usr|g' cmake_install.cmake make DESTDIR="${pkgdir}" install - mkdir -p "${pkgdir}/usr/share/doc/${_pkgname}/" - install -m644 docs/*.txt "${pkgdir}/usr/share/doc/${_pkgname}/" + for FILE in docs/*.txt; do + install -Dm644 "$FILE" "${pkgdir}"/usr/share/doc/fatelf/$(basename $FILE) + done + + install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE } |