Last active
June 10, 2016 04:59
-
-
Save trickart/30ae453b0505dba7a29a to your computer and use it in GitHub Desktop.
PKGBUILDの雛形。git+のところはgitリポジトリのURL入れるとフェッチできるやつ。.gitignoreはAURにpushする時用
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname= | |
pkgver= | |
pkgrel=1 | |
pkgdesc="" | |
arch=('i686' 'x86_64') | |
url="" | |
license=('custom') | |
depends=('') | |
makedepends=('') | |
source=(git+ | |
http://) | |
sha256sums=('') | |
build() { | |
cd "${srcdir}/src" | |
./configure | |
make | |
} | |
package(){ | |
cd $pkgname | |
#make installを使う場合 | |
make DESTDIR="$pkgdir/" install | |
#個別に入れる場合 | |
install -D -m 755 hoge "${pkgdir}/path/hoge" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.gitignore | |
pkg/ | |
src/ | |
*-*.pkg.tar* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment