Skip to content

Instantly share code, notes, and snippets.

@spcmd
Created February 22, 2017 13:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spcmd/58ea35fce9077c0bd9e988971ce6e9a6 to your computer and use it in GitHub Desktop.
Save spcmd/58ea35fce9077c0bd9e988971ce6e9a6 to your computer and use it in GitHub Desktop.
sc-im-git PKGBUILD (Arch Linux)
# Maintainer: Rhinoceros <https://aur.archlinux.org/account/rhinoceros>
# Contributor: Rhinoceros <https://aur.archlinux.org/account/rhinoceros>
# Git Version: spcmd <https://github.com/spcmd>
pkgname=sc-im-git
pkgver=0.5.0
pkgrel=1
pkgdesc='A spreadsheet program based on SC'
arch=('i686' 'x86_64')
url='https://github.com/andmarti1424/sc-im'
depends=(libxml2 libzip)
license=('BSD')
conflicts=('sc-im')
source=("git+https://github.com/andmarti1424/sc-im.git"
'arch.patch')
sha256sums=('SKIP'
'76bbe0e1e96e2623b8304f267f7cf310ee2f82e222c57a318d0e3434963203ba')
MAKEFLAGS='-j1'
prepare() {
cd "sc-im/src"
# install things in the correct place for package managers
patch <../../../arch.patch
}
build() {
cd "sc-im/src"
make
}
package() {
cd "sc-im/src"
make DESTDIR="$pkgdir" install
install -D -m644 ../LICENSE "$pkgdir/usr/share/licenses/sc-im/LICENSE"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment