git2talimat_calismasi
This commit is contained in:
parent
33d9bbf857
commit
00ada654ac
|
@ -0,0 +1,18 @@
|
|||
# Description: @desc@
|
||||
# URL: @url@
|
||||
# packager: @packager@
|
||||
# Depends on : @depends@
|
||||
|
||||
name=@name@
|
||||
version=@version@
|
||||
release=1
|
||||
source=(https://github.com/@hesap@/$name/archive/$version.tar.gz)
|
||||
|
||||
build () {
|
||||
mv $DERLEME_KAYNAKDIZIN/$version.tar.gz $DERLEME_KAYNAKDIZIN/$name-$version.tar.gz
|
||||
cd $name-$version
|
||||
./autogen.sh
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
account="$1"
|
||||
name="$2"
|
||||
file="$name.html"
|
||||
curl -k https://github.com/"$account/$name" > "$file"
|
||||
desc=`sed -n 's|[^<]*<span itemprop="about">\([^<]*\)</span>[^<]*|\1\n|gp' $file`
|
||||
echo "# Description:$desc"
|
Loading…
Reference in New Issue