Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

libcaca: Use new git download function.

  • Loading branch information...
onodera-punpun committed Apr 27, 2017
1 parent e0ef4a1 commit 838e11aba58c34800e634d74118ffd3e6bc405fe
Showing with 21 additions and 15 deletions.
  1. +5 −5 libcaca/.footprint
  2. +3 −3 libcaca/.signature
  3. +13 −7 libcaca/Pkgfile
@@ -43,11 +43,11 @@ drwxr-xr-x root/root usr/lib/python2.7/site-packages/caca/
-rw-r--r-- root/root usr/lib/python2.7/site-packages/caca/font.pyo
drwxr-xr-x root/root usr/lib/ruby/
drwxr-xr-x root/root usr/lib/ruby/site_ruby/
drwxr-xr-x root/root usr/lib/ruby/site_ruby/2.3/
-rw-r--r-- root/root usr/lib/ruby/site_ruby/2.3/caca.rb
drwxr-xr-x root/root usr/lib/ruby/site_ruby/2.3/x86_64-linux/
-rwxr-xr-x root/root usr/lib/ruby/site_ruby/2.3/x86_64-linux/caca.la
-rwxr-xr-x root/root usr/lib/ruby/site_ruby/2.3/x86_64-linux/caca.so
drwxr-xr-x root/root usr/lib/ruby/site_ruby/2.4/
-rw-r--r-- root/root usr/lib/ruby/site_ruby/2.4/caca.rb
drwxr-xr-x root/root usr/lib/ruby/site_ruby/2.4/x86_64-linux/
-rwxr-xr-x root/root usr/lib/ruby/site_ruby/2.4/x86_64-linux/caca.la
-rwxr-xr-x root/root usr/lib/ruby/site_ruby/2.4/x86_64-linux/caca.so
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/libcaca/
-rw-r--r-- root/root usr/share/libcaca/caca.txt
@@ -1,4 +1,4 @@
untrusted comment: verify with /etc/ports/6c37-git.pub
RWQY8eVY1sSPFQ5HBNqZSTP14IKo5T5fk9tJuY6QfS7CuaEOBLjG0C2392vivLASLpzPvQcA5wr73V5phu/KnsW+XfjDXb2j5QA=
SHA256 (Pkgfile) = 1c8f26c6159980ac4147050c1da25c81bf3cfc575e3c2c1db8b2718d535e686d
SHA256 (.footprint) = aa30b1115324d8464a0054e175a17fd0f283a612346ab1e0980bcd678f464184
RWQY8eVY1sSPFTSxIhA8oGiMYkbH/FAgLSncFbt4GDnVTS6NeBA7vnsZj+kgm4GLVJZ3S7R8cj2jMLRMOjyUTrCHD+/UsTV5RQ8=
SHA256 (Pkgfile) = c37d161158caff89b07736e6e97064a4e4a89abdc7a68a72d47129df1f77fe7d
SHA256 (.footprint) = ff5f01270591c8b49d6e12044a454bd6e2f3c594e55dbc356d9d7a865999d1b0
@@ -8,16 +8,22 @@ version=git
release=1
source=()

build() {
cd $PKGMK_SOURCE_DIR

if cd $name; then
git fetch -q; git reset --hard
download_git() {
if [[ -d $PKGMK_SOURCE_DIR/$name ]]; then
git -C $PKGMK_SOURCE_DIR/$name fetch --depth=1
git -C $PKGMK_SOURCE_DIR/$name clean -f
git -C $PKGMK_SOURCE_DIR/$name reset --hard origin/$2
else
git clone https://github.com/cacalabs/$name $name
cd $name
git -C $PKGMK_SOURCE_DIR clone --depth=1 $1 -b $2 $name
fi

cp -r $PKGMK_SOURCE_DIR/$name $PKGMK_WORK_DIR/src/$name
}

build() {
download_git https://github.com/cacalabs/$name master
cd $name

./bootstrap
./configure --prefix=/usr \
--enable-shared \

0 comments on commit 838e11a

Please sign in to comment.
You can’t perform that action at this time.