forked from github-linguist/linguist
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add detection for Arch Linux PKGBUILDs
- Loading branch information
1 parent
aa7c849
commit be42a84
Showing
4 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1141,6 +1141,7 @@ Shell: | |
- .zshrc | ||
- bashrc | ||
- zshrc | ||
- PKGBUILD | ||
|
||
Smalltalk: | ||
type: programming | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Maintainer: Daniel Micay <danielmicay@gmail.com> | ||
pkgname=stud-git | ||
pkgver=20120316 | ||
pkgrel=1 | ||
pkgdesc="The Scalable TLS Unwrapping Daemon" | ||
arch=(i686 x86_64) | ||
url="https://github.com/bumptech/stud" | ||
license=('BSD') | ||
depends=(libev openssl) | ||
makedepends=(git) | ||
provides=(stud) | ||
conflicts=(stud) | ||
|
||
_gitroot=https://github.com/bumptech/stud.git | ||
_gitname=stud | ||
|
||
build() { | ||
cd "$srcdir" | ||
msg "Connecting to GIT server...." | ||
|
||
if [[ -d "$_gitname" ]]; then | ||
cd "$_gitname" && git pull origin | ||
msg "The local files are updated." | ||
else | ||
git clone "$_gitroot" "$_gitname" | ||
fi | ||
|
||
msg "GIT checkout done or server timeout" | ||
msg "Starting build..." | ||
|
||
rm -rf "$srcdir/$_gitname-build" | ||
git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build" | ||
cd "$srcdir/$_gitname-build" | ||
|
||
make | ||
} | ||
|
||
package() { | ||
cd "$srcdir/$_gitname-build" | ||
make PREFIX=/usr DESTDIR="$pkgdir/" install | ||
install -Dm755 init.stud "$pkgdir/etc/rc.d/stud" | ||
mkdir -p "$pkgdir/etc/stud" | ||
} |
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
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