Skip to content

Instantly share code, notes, and snippets.

Created June 27, 2013 16:33
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 anonymous/5877988 to your computer and use it in GitHub Desktop.
Save anonymous/5877988 to your computer and use it in GitHub Desktop.
Pkgfile
# Description:
# URL:
# Maintainer:
# Packager:
# Depends on:
name=libmtp
version=git
release=1
source=()
build() {
git clone git://git.code.sf.net/p/libmtp/code $SRC/libmtp-code
cd libmtp-code
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac
./autogen.sh
./configure --prefix=/usr --with-udev=/etc/udev
make
make DESTDIR=$PKG install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment